Antoine Pitrou <pit...@free.fr> added the comment: As an example of padding behaviour (under Win64 with 32-bit longs and 64-bit pointers):
Python 3.2a1+ (py3k, Sep 4 2010, 22:50:10) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import struct >>> struct.calcsize("l") 4 >>> struct.calcsize("lP") 16 >>> struct.calcsize("lPP") 24 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9778> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com