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 mleroy003
Recipients Charles Machalow, amaury.forgeotdarc, belopolsky, eryksun, meador.inge, mleroy003, ztane
Date 2018-04-01.16:18:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
No solution found to solve this issue ?
The anomaly is not a cross platform inconsistency, it is an inconsistency between the behaviours of GCC and ctypes, both under Linux or Cygwin, when defining packed structures :

[Marc@I7-860 ~/dev/python/ctypes-bitfields-bug] make test
sizeof(BF32) = 12 ; Memory dump of BF32 = 0xffffffffffffffffffffffff
sizeof(BF64) = 12 ; Memory dump of BF64 = 0xffffffffffffffffffffffff
sizeof(BF32) = 16 ; Memory dump of BF32 = 0xffffff00ffffff00ffffff00ffffff00
sizeof(BF64) = 16 ; Memory dump of BF64 = 0xffffffffffff0000ffffffffffff0000
Date User Action Args
2018-04-01 16:18:14mleroy003setrecipients: + mleroy003, amaury.forgeotdarc, belopolsky, meador.inge, eryksun, ztane, Charles Machalow
2018-04-01 16:18:14mleroy003setmessageid: <>
2018-04-01 16:18:14mleroy003linkissue29753 messages
2018-04-01 16:18:14mleroy003create