Author mark.dickinson
Recipients Alexander.Belopolsky, MrJean1, ajaksu2, barry, benjamin.peterson, inducer, mark.dickinson, meador.inge, noufal, pitrou, teoliphant
Date 2010-05-19.19:56:16
SpamBayes Score 0.0209256
Marked as misclassified No
Message-id <1274298977.42.0.54871868095.issue3132@psf.upfronthosting.co.za>
In-reply-to
Content
One more design question.  For something like: '<HT{>H}H', what endianness should be used when packing/unpacking the last 'H'?  Should the switch to '>' within the embedded struct be regarded as local to the struct?

With your patch, I get:

>>> pack('<HT{>H}H', 1, (2,), 3)
b'\x01\x00\x00\x02\x00\x03'
History
Date User Action Args
2010-05-19 19:56:17mark.dickinsonsetrecipients: + mark.dickinson, barry, teoliphant, pitrou, inducer, ajaksu2, MrJean1, benjamin.peterson, noufal, meador.inge, Alexander.Belopolsky
2010-05-19 19:56:17mark.dickinsonsetmessageid: <1274298977.42.0.54871868095.issue3132@psf.upfronthosting.co.za>
2010-05-19 19:56:16mark.dickinsonlinkissue3132 messages
2010-05-19 19:56:16mark.dickinsoncreate