[issue12945] ctypes works incorrectly with _swappedbytes_ = 1

Pavel Boldin report at bugs.python.org
Sun Sep 11 14:17:44 CEST 2011


Pavel Boldin <boldin.pavel at gmail.com> added the comment:

OK. So, it seems just like ctypes work, but don't for my needs.

Thing that bothers me anyway is the strange code, where size contains either size (when bitsize==0) or bitsize in upper 16 bits and bitoffset in lower 16 bits.

----------

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


More information about the Python-bugs-list mailing list