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 amaury.forgeotdarc
Recipients Alexander.Belopolsky, Jake.Coffman, amaury.forgeotdarc, castironpi, terry.reedy, theller, vladris, vstinner
Date 2011-07-12.08:25:46
SpamBayes Score 0.0007854513
Marked as misclassified No
Message-id <1310459147.12.0.312624503013.issue4376@psf.upfronthosting.co.za>
In-reply-to
Content
Is there a unit test about the actual feature: that the bytes are actually swapped in the structure?

For example, with a
class T(BigEndianStructure): _fields_ = [("a", c_int), ("b", c_int)]
cast a pointer to T into a pointer to c_int, and read the values.
History
Date User Action Args
2011-07-12 08:25:47amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, theller, terry.reedy, vstinner, castironpi, Alexander.Belopolsky, Jake.Coffman, vladris
2011-07-12 08:25:47amaury.forgeotdarcsetmessageid: <1310459147.12.0.312624503013.issue4376@psf.upfronthosting.co.za>
2011-07-12 08:25:46amaury.forgeotdarclinkissue4376 messages
2011-07-12 08:25:46amaury.forgeotdarccreate