Message78388
The change in result length is actually normal. If you look at the doc
for the struct module, the default size and byte order character is "@",
which means "native byte order and native size". On x86-64 Linux, the
"native" long size is 64 bits, so the result is 8 bytes long. When using
one of {"<", ">", "!", "="}, you instead select the "standard" long size
according to the struct module which is 32 bits.
I agree it can be surprising though. |
|
Date |
User |
Action |
Args |
2008-12-27 23:07:57 | pitrou | set | recipients:
+ pitrou, termim |
2008-12-27 23:07:56 | pitrou | set | messageid: <1230419276.71.0.0258523909713.issue4270@psf.upfronthosting.co.za> |
2008-12-27 23:07:55 | pitrou | link | issue4270 messages |
2008-12-27 23:07:55 | pitrou | create | |
|