[issue4376] Nested ctypes 'BigEndianStructure' fails

Vlad Riscutia report at bugs.python.org
Wed Jul 13 18:22:16 CEST 2011


Vlad Riscutia <riscutiavlad at gmail.com> added the comment:

But if you set raw memory to let's say b'\0\0\0\1', when you look at the c_int value afterwards, won't it be different on little endian and big endian machines?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4376>
_______________________________________


More information about the Python-bugs-list mailing list