STINNER Victor <victor.stin...@haypocalc.com> added the comment: The default endiand and alignment is "native". Using <, >, = or ! endian, the alignement is standard.
Python 3.1a0 (py3k:69105M, Feb 3 2009, 15:04:35) >>> struct.calcsize('cd') 12 >>> struct.calcsize('=cd') 9 >>> struct.calcsize('<cd') 9 ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5145> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com