8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The struct module uses pre-C11 hacks to determine alignment for types:
cpython/Modules/_struct.c
Lines 79 to 106 in 5808889
Now we can use _Alignof operator, as C11-compatible compiler is a build requireent.
_Alignof
This is a minor feature, which does not need previous discussion elsewhere
No response
The text was updated successfully, but these errors were encountered:
complex
struct
Considering I did use _Alignof in my recent PR (#132428), I support this proposal.
Sorry, something went wrong.
pythongh-132868: use _Alignof() operator in the struct module
10eb674
PR is ready: #132872
gh-132868: use _Alignof() C11 operator in the struct module (#132872
_Alignof()
ecd0373
)
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Feature or enhancement
Proposal:
The struct module uses pre-C11 hacks to determine alignment for types:
cpython/Modules/_struct.c
Lines 79 to 106 in 5808889
Now we can use
_Alignof
operator, as C11-compatible compiler is a build requireent.Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: