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 Сергей.Ковба
Recipients Сергей.Ковба
Date 2012-09-07.08:15:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347005746.88.0.0980620754305.issue15878@psf.upfronthosting.co.za>
In-reply-to
Content
Such code PackageFile.write(struct.pack( "l", PkgHdrSize)) have different behaviour on 32-bit and 64-bit systems.
In case 32-bit system it writes to file 4 bytes. and 8 bytes in case 64-bit system, but in http://docs.python.org/library/struct.html p.7.3.2.2 long type have strict 4-byte size.
History
Date User Action Args
2012-09-07 08:15:46Сергей.Ковбаsetrecipients: + Сергей.Ковба
2012-09-07 08:15:46Сергей.Ковбаsetmessageid: <1347005746.88.0.0980620754305.issue15878@psf.upfronthosting.co.za>
2012-09-07 08:15:46Сергей.Ковбаlinkissue15878 messages
2012-09-07 08:15:46Сергей.Ковбаcreate