[issue4484] struct: per item endianess specification

2010-04-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I concur with Mark and Charles-Francois. -- nosy: +rhettinger ___ Python tracker ___ ___ Py

[issue4484] struct: per item endianess specification

2010-04-07 Thread Mark Dickinson
Mark Dickinson added the comment: I agree that this seems like something that would rarely be needed. If it's really necessary, it's possible to break up the format and do the packing/unpacking in fixed-endian pieces. -- nosy: +mark.dickinson resolution: -> rejected status: open ->

[issue4484] struct: per item endianess specification

2010-04-07 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: I don't see any reasonale reason for mixing endianess inside a struct, and don't know of any real-life protocol using per-item endianess. Unless someone comes up with a good reason for doing so, and since no one else seems to be interested by this iss

[issue4484] struct: per item endianess specification

2008-12-01 Thread Shaddy Baddah
New submission from Shaddy Baddah <[EMAIL PROTECTED]>: 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 fo