New issue
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
Add support for BigEndianUnion and LittleEndianUnion in ctypes #77359
Comments
Python documentation says that "To build structures with non-native byte order, you can use one of the BigEndianStructure, LittleEndianStructure, BigEndianUnion, and LittleEndianUnion base classes" However, BigEndianUnion ad LittleEndianUnion are not implemented >>> from ctypes import *
>>> BigEndianStructure
<class 'ctypes._endian.BigEndianStructure'>
>>> BigEndianUnion
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'BigEndianUnion' is not defined Is that something that can be added? See also https://bugs.python.org/issue19023 |
updated nosy list |
Hi there, I'm taking part in 'EnHackathon' spending several days over the next few weeks working on issues. I think this could be a good issue for a small team of first-time contributors with experience in C to work on. |
PR 25480 passes checks and awaits core review. All comments thus far have been addressed. |
Any core developers available to review this PR? |
Thanks for the contribution! (our attention spans can be scattered and random, apologies for the delay) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: