This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients Alexander.Belopolsky, kiilerix, mark.dickinson
Date 2010-04-20.14:30:46
SpamBayes Score 3.3531942e-05
Marked as misclassified No
Message-id <1271773847.98.0.0348498965653.issue8469@psf.upfronthosting.co.za>
In-reply-to
Content
As Alexander says, *all* the sizes except those for bytes are platform-dependent:  there are platforms where sizeof(short) isn't 2, for example, or where sizeof(int) isn't 4.

It would be possible to add the 'standard' sizes to that table (i.e. the sizes that you get when using '<', '>', etc.);  would that be helpful?  If you're trying to write cross-platform code then you should probably be using standard size, alignment and byte order anyway.
History
Date User Action Args
2010-04-20 14:30:48mark.dickinsonsetrecipients: + mark.dickinson, kiilerix, Alexander.Belopolsky
2010-04-20 14:30:47mark.dickinsonsetmessageid: <1271773847.98.0.0348498965653.issue8469@psf.upfronthosting.co.za>
2010-04-20 14:30:46mark.dickinsonlinkissue8469 messages
2010-04-20 14:30:46mark.dickinsoncreate