Message56126
This changes PyArg_ParseTuple()'s "t#" to request a PyBUF_SIMPLE buffer
like all of the other buffer-using format units instead of
PyBUF_CHARACTER. Objects with multi-byte units wind up
byte-order-dependent. Alternately, it might make sense to have
array.array('b') and array.array('B') accept the PyBUF_CHARACTER flag.
I haven't actually tested this patch on a big-endian machine. |
|
| Date |
User |
Action |
Args |
| 2007-09-25 05:25:32 | jyasskin | set | spambayes_score: 0.00633692 -> 0.00633692 recipients:
+ jyasskin |
| 2007-09-25 05:25:31 | jyasskin | set | spambayes_score: 0.00633692 -> 0.00633692 messageid: <1190697931.82.0.81567230307.issue1200@psf.upfronthosting.co.za> |
| 2007-09-25 05:25:31 | jyasskin | link | issue1200 messages |
| 2007-09-25 05:25:30 | jyasskin | create | |
|