[issue18063] m68k struct alignment issue vs. PyException_HEAD

mirabilos report at bugs.python.org
Sat May 25 23:40:10 CEST 2013


mirabilos added the comment:

Include/unicodeobject.h has the same problem; its “state” member currently allocates 8 bit, which is only padded up to 16 bit.

asciifields = "nnbP" makes that work too; result attached as after-patch-2.txt

Will just changing the testsuite to match reality be enough, or are there any other internal assumptions about this type of thing, like we had with issue17237 earlier?

Thanks for your quick responses!

----------
Added file: http://bugs.python.org/file30375/after-patch-2.txt

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


More information about the Python-bugs-list mailing list