Message288978
Different error messages are needed if original offset < 0. For example packing 4 bytes with offset -2 always fails, not depending of the size of the buffer. Packing into buffer of size 10 with offset -11 always fails, not depending of the size of packed data.
struct.pack_into('<I', bytearray(10), -2, 123)
struct.pack_into('<B', bytearray(10), -11, 123) |
|
Date |
User |
Action |
Args |
2017-03-04 13:55:50 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, andrewnester, louielu |
2017-03-04 13:55:49 | serhiy.storchaka | set | messageid: <1488635749.96.0.50882350469.issue29649@psf.upfronthosting.co.za> |
2017-03-04 13:55:49 | serhiy.storchaka | link | issue29649 messages |
2017-03-04 13:55:49 | serhiy.storchaka | create | |
|