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 arigo
Recipients arigo
Date 2012-11-29.04:53:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354164812.19.0.708202681719.issue16576@psf.upfronthosting.co.za>
In-reply-to
Content
ctypes pretends to support passing arguments to C functions that are structures containing bitfields, or at least does not explicitly forbid it.  But doing so results in misbehavior or segfaults in libffi itself.  Indeed, libffi has no support for this, and ctypes just describes a field like "int x:1;" as "int x;".  The attached example segfaults on Linux x86-64.
History
Date User Action Args
2012-11-29 04:53:32arigosetrecipients: + arigo
2012-11-29 04:53:32arigosetmessageid: <1354164812.19.0.708202681719.issue16576@psf.upfronthosting.co.za>
2012-11-29 04:53:32arigolinkissue16576 messages
2012-11-29 04:53:31arigocreate