I'm guessing that the expected behavior is >>> struct.calcsize('idi') 20 because the double should be aligned to an 8-byte boundary. This is the case on my linux/x86_64 machine: $ python -c 'import struct; print struct.calcsize("idi")' 20 I don't know much about 'itanium', but i'd be surprised if they chose 4-byte alignment for doubles.
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,180,00.html Jeff
pgpgMOnsB8Jx5.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list