Message284018
Originally posted by Russell Keith-Magee on Twitter:
https://twitter.com/freakboy3742/status/812609675283681280
Reproduced successfully on Python 3.5.2
>>> x = bytearray(1)
>>> y = {}
>>> x % y
Python3.5: bytearray(b'')
Python3.6: bytearray(b'\x00')
also:
>>> bytearray([0,1]) % {} # same with [], (), range(42)
bytearray(b'')
>>> bytearray([1,0]) % {}
bytearray(b'\x01') |
|
Date |
User |
Action |
Args |
2016-12-26 09:52:44 | sanjioh | set | recipients:
+ sanjioh |
2016-12-26 09:52:44 | sanjioh | set | messageid: <1482745964.51.0.352448624616.issue29073@psf.upfronthosting.co.za> |
2016-12-26 09:52:44 | sanjioh | link | issue29073 messages |
2016-12-26 09:52:44 | sanjioh | create | |
|