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 mark.dickinson, Сергей.Ковба
Date 2012-09-07.09:02:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347008534.41.0.605975872486.issue15878@psf.upfronthosting.co.za>
In-reply-to
Content
This is expected behaviour.  By default, struct.pack and struct.unpack use the *native* size and alignment.  Use "<l" if you want platform-independent behaviour.

Relevant docs:

http://docs.python.org/library/struct.html#byte-order-size-and-alignment
History
Date User Action Args
2012-09-07 09:02:14mark.dickinsonsetrecipients: + mark.dickinson, Сергей.Ковба
2012-09-07 09:02:14mark.dickinsonsetmessageid: <1347008534.41.0.605975872486.issue15878@psf.upfronthosting.co.za>
2012-09-07 09:02:13mark.dickinsonlinkissue15878 messages
2012-09-07 09:02:13mark.dickinsoncreate