Message292409
After changing the type of Struct.format to str we perhaps should deprecate accepting bytes as format. Currently this can lead to emitting a BytesWarning.
$ ./python -Wa -b
>>> import struct
>>> struct.pack('I', 12345)
b'90\x00\x00'
>>> struct.pack(b'I', 12345)
__main__:1: BytesWarning: Comparison between bytes and string
__main__:1: BytesWarning: Comparison between bytes and string
b'90\x00\x00' |
|
Date |
User |
Action |
Args |
2017-04-27 07:05:22 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, vstinner, benjamin.peterson, Arfrever, r.david.murray, zbysz, docs@python, martin.panter, xiang.zhang |
2017-04-27 07:05:22 | serhiy.storchaka | set | messageid: <1493276722.75.0.96912630692.issue21071@psf.upfronthosting.co.za> |
2017-04-27 07:05:22 | serhiy.storchaka | link | issue21071 messages |
2017-04-27 07:05:22 | serhiy.storchaka | create | |
|