Yes, this is basically what I expected as well. I would have expected some size that you can coax gcc to give, either 12 (as here), or 10 (with directives). Thanks to everyone for the responses!
Pete On Oct 16, 4:30 am, Peter Otten <__pete...@web.de> wrote: > > I would have expected "native size and alignment" (as stated in the > documentation) to mean that I can read the output of struct.pack("bhhhhb") > into a C > > struct { > char a; > short b1, b2, b3, b4; > char c > > } > > but that has a size of 12 bytes on my 64 bit Ubuntu. > > Peter -- http://mail.python.org/mailman/listinfo/python-list