Author pitrou
Recipients belopolsky, georg.brandl, jimjjewett, ked-tao, loewis, mark.dickinson, pitrou, rhettinger, tim.peters
Date 2010-09-04.22:12:39
SpamBayes Score 1.28671e-08
Marked as misclassified No
Message-id <1283638362.94.0.53061666956.issue9778@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-09-04 22:12:43pitrousetrecipients: + pitrou, tim.peters, loewis, georg.brandl, rhettinger, jimjjewett, mark.dickinson, belopolsky, ked-tao
2010-09-04 22:12:42pitrousetmessageid: <1283638362.94.0.53061666956.issue9778@psf.upfronthosting.co.za>
2010-09-04 22:12:40pitroulinkissue9778 messages
2010-09-04 22:12:39pitroucreate