This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Rony Batista
Recipients Rony Batista
Date 2015-05-26.19:02:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432666968.74.0.708060722657.issue24290@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015-05-26 19:02:48Rony Batistasetrecipients: + Rony Batista
2015-05-26 19:02:48Rony Batistasetmessageid: <1432666968.74.0.708060722657.issue24290@psf.upfronthosting.co.za>
2015-05-26 19:02:48Rony Batistalinkissue24290 messages
2015-05-26 19:02:48Rony Batistacreate