zeero added the comment:

Thanks for the advise. I'll give it a try.

So ctypes.Structure is always little endian regardless from the underlying 
architecture. 
I just checked on a raspberry pi 2 that should be a big endian device, and got 
the same results as before.

I'm still not sure if it's right that ctypes.Structure swaps the order of the 
bit items but apparently it's the intended behaviour.

I'll close the issue then. Thanks again.

----------
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24859>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to