Skip to content

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Dec 3, 2024

The 'C' format code expects an int as a destination (not a char). This led to test failures on big-endian platforms like s390x. Use the 'c' format code, which expects a char as the destination (but requires a Python byte objects instead of a str).

The 'C' format code expects an `int` as a destination (not a `char`).
This led to test failures on big-endian platforms like s390x. Use the
'c' format code, which expects a `char` as the destination (but requires
a Python byte objects instead of a str).
@colesbury colesbury added the tests Tests in the Lib/test dir label Dec 3, 2024
@colesbury colesbury requested a review from vstinner December 3, 2024 19:13
@colesbury
Copy link
Contributor Author

!buildbot s390x

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @colesbury for commit 0a547aa 🤖

The command will test the builders whose names match following regular expression: s390x

The builders matched are:

  • s390x RHEL9 LTO PR
  • s390x RHEL8 Refleaks PR
  • s390x RHEL8 LTO + PGO PR
  • s390x RHEL8 PR
  • s390x RHEL8 LTO PR
  • s390x RHEL9 Refleaks PR
  • s390x RHEL9 LTO + PGO PR
  • s390x RHEL9 PR

@encukou encukou merged commit 6fc6436 into python:main Dec 4, 2024
57 checks passed
@encukou
Copy link
Member

encukou commented Dec 4, 2024

Thank you!

@dpdani
Copy link
Contributor

dpdani commented Dec 4, 2024

thanks!

srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
…7577)

pythongh-127572: Fix `test_structmembers` initialization.

The 'C' format code expects an `int` as a destination (not a `char`).
This led to test failures on big-endian platforms like s390x. Use the
'c' format code, which expects a `char` as the destination (but requires
a Python byte objects instead of a str).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants