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-24.09:45:11
SpamBayes Score 0.0014291852
Marked as misclassified No
Message-id <1201167913.71.0.193435100356.issue1789@psf.upfronthosting.co.za>
In-reply-to
Content
The giant patch was unnecessary, I misread what the struct module was
actually doing.  Auditing all uses of struct in the standard library the
only ones that look suspicious to me are:

Lib/posixfile.py
and all of the uses in Lib/plat-mac/

posixfile is probably fine, but it wouldn't surprise me if there are
bugs on some platforms in there due to using 'l' to decode off_t and 'h'
to decode pid_t within a fcntl structure.

The plat-mac stuff might break assuming those APIs are even available to
64bit programs.  I'll leave that up to the mac porting folks, as it is
its difficult if not impossible to even build a 64-bit Python under OS X.

Fixed in trunk r60234.
History
Date User Action Args
2008-01-24 09:45:13gregory.p.smithsetspambayes_score: 0.00142919 -> 0.0014291852
recipients: + gregory.p.smith, spe-anatol
2008-01-24 09:45:13gregory.p.smithsetspambayes_score: 0.00142919 -> 0.00142919
messageid: <1201167913.71.0.193435100356.issue1789@psf.upfronthosting.co.za>
2008-01-24 09:45:12gregory.p.smithlinkissue1789 messages
2008-01-24 09:45:11gregory.p.smithcreate