Message183425
Currently array module only provides platform-dependent type specifiers.
It would be very nice to have platform-independent specifiers in addition to that, matching the struct module.
For example array('<H') -> an array of little-endian 2-byte integers.
This issue crops up every time when I use array(). Binary data usually comes in some predefined format and a manual matching to native format has to be done (assuming I want to write portable code).
A useful extra would be to support multi-element struct specifiers and present an array of tuples in this case.
For example array('iff') -> an array of tuples (int, float, float) with native types. |
|
Date |
User |
Action |
Args |
2013-03-04 08:26:17 | nnemkin | set | recipients:
+ nnemkin |
2013-03-04 08:26:17 | nnemkin | set | messageid: <1362385577.82.0.862277690656.issue17345@psf.upfronthosting.co.za> |
2013-03-04 08:26:17 | nnemkin | link | issue17345 messages |
2013-03-04 08:26:17 | nnemkin | create | |
|