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 gregory.p.smith
Recipients gregory.p.smith, spe-anatol
Date 2008-01-23.20:38:00
SpamBayes Score 0.18002859
Marked as misclassified No
Message-id <1201120681.89.0.643799410299.issue1789@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for the struct module says:

 "short is 2 bytes; int and long are 4 bytes; long long (__int64 on
Windows) is 8 bytes"

and lists 'l' and 'L' as the pack code for a C long.

As it is implemented today, the documentation is incorrect.  On an LP64
host (pretty much any 64-bit linux, bsd or unixish OS; not windows) a
long is 8 bytes.
History
Date User Action Args
2008-01-23 20:38:02gregory.p.smithsetspambayes_score: 0.180029 -> 0.18002859
recipients: + gregory.p.smith, spe-anatol
2008-01-23 20:38:01gregory.p.smithsetspambayes_score: 0.180029 -> 0.180029
messageid: <1201120681.89.0.643799410299.issue1789@psf.upfronthosting.co.za>
2008-01-23 20:38:00gregory.p.smithlinkissue1789 messages
2008-01-23 20:38:00gregory.p.smithcreate