Message213242
`bytes` is a list of integers. Passing a single integer to `bytes()`, as in:
--> bytes(7)
b'\x00\x00\x00\x00\x00\x00\x00'
results in a bytes object containing that many zeroes.
I propose that this behavior be deprecated for eventual removal, and a class method be created to take its place. |
|
Date |
User |
Action |
Args |
2014-03-12 10:29:57 | ethan.furman | set | recipients:
+ ethan.furman |
2014-03-12 10:29:57 | ethan.furman | set | messageid: <1394620197.12.0.249138601017.issue20895@psf.upfronthosting.co.za> |
2014-03-12 10:29:57 | ethan.furman | link | issue20895 messages |
2014-03-12 10:29:56 | ethan.furman | create | |
|