Message174584
For 3.3, I verified that adding b prefix to first three doc examples gives same output as without, but also discovered that example outputs are wrong, at least on windows, because of byte ordering issues.
>>> pack('hhl', 1, 2, 3)
b'\x01\x00\x02\x00\x03\x00\x00\x00'
>>> pack(b'hhl', 1, 2, 3)
b'\x01\x00\x02\x00\x03\x00\x00\x00'
>>> unpack(b'hhl', b'\x00\x01\x00\x02\x00\x00\x00\x03')
(256, 512, 50331648)
>>> unpack('hhl', b'\x00\x01\x00\x02\x00\x00\x00\x03')
(256, 512, 50331648) |
|
Date |
User |
Action |
Args |
2012-11-02 21:28:35 | terry.reedy | set | recipients:
+ terry.reedy, mark.dickinson, meador.inge, takluyver, martin.panter |
2012-11-02 21:28:35 | terry.reedy | set | messageid: <1351891715.9.0.138388215204.issue16349@psf.upfronthosting.co.za> |
2012-11-02 21:28:35 | terry.reedy | link | issue16349 messages |
2012-11-02 21:28:35 | terry.reedy | create | |
|