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 shaddybaddah
Recipients shaddybaddah
Date 2008-12-02.06:26:41
SpamBayes Score 0.00543292
Marked as misclassified No
Message-id <>
I note that using the struct module, a user can specify if number items
of the format are to be interpreted as either big or small endian.
However the format specifier can only accept one indicator character at
its first character to apply for all number items in it. e.g:

"<HI" specifies that both the unsigned short and unsigned int are to be
interpreted as little endian values.

It would be nice to be able to instead do "<>HI" where the first '<'
character indicates the default endianess (for compatibility purposes)
and then the second '>' character indicates that the unsigned short
should be interpreted as big endian. The unsigned int defaults to small
endian as per the first character.
Date User Action Args
2008-12-02 06:26:46shaddybaddahsetrecipients: + shaddybaddah
2008-12-02 06:26:45shaddybaddahsetmessageid: <>
2008-12-02 06:26:43shaddybaddahlinkissue4484 messages
2008-12-02 06:26:41shaddybaddahcreate