[New-bugs-announce] [issue24290] c_uint32 bitfields break structures
report at bugs.python.org
Tue May 26 21:02:48 CEST 2015
New submission from Rony Batista:
ctypes Structures with c_uint32 bitfields have strange behaviour on OS X.
In the attached code when the field "number" is set, it changes the whole 32 bits, even thou its meant to be 23 bits.
The behavior is unexpected in:
OS X: Python 2.7.9
The behavior is as expected in the following environments:
Windows: python 2.7.9
Ubuntu: python 2.7.6
nosy: Rony Batista
title: c_uint32 bitfields break structures
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce