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 vstinner
Recipients Alexander.Belopolsky, amaury.forgeotdarc, castironpi, terry.reedy, theller, vladris, vstinner
Date 2011-07-13.16:26:27
SpamBayes Score 6.6472945e-05
Marked as misclassified No
Message-id <1310574387.89.0.586574142872.issue4376@psf.upfronthosting.co.za>
In-reply-to
Content
> But if you set raw memory to let's say b'\0\0\0\1',
> when you look at the c_int value afterwards, won't it
> be different on little endian and big endian machines?

A big endian structure is supposed to read and write memory in the... big endian order, not in the host endian.
History
Date User Action Args
2011-07-13 16:26:27vstinnersetrecipients: + vstinner, theller, terry.reedy, amaury.forgeotdarc, castironpi, Alexander.Belopolsky, vladris
2011-07-13 16:26:27vstinnersetmessageid: <1310574387.89.0.586574142872.issue4376@psf.upfronthosting.co.za>
2011-07-13 16:26:27vstinnerlinkissue4376 messages
2011-07-13 16:26:27vstinnercreate