[issue6069] casting error from ctypes array to structure

Terry J. Reedy report at bugs.python.org
Tue Aug 3 22:51:09 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

WinXP,32bit,3.1.2 result
Data0 is 0x2AAAAAAA, Data1 is 0x55555555 for uint
Data0 is 0x2AAAAAAA, Data1 is 0xAAAAAAAA for ulonglong
Data1 failed

but I do not understand ctypes enough to verify that test is correct.

----------
nosy: +tjreedy
stage:  -> unit test needed
type:  -> behavior
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6, Python 3.0

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


More information about the Python-bugs-list mailing list