This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sanjioh
Recipients sanjioh
Date 2016-12-26.09:52:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482745964.51.0.352448624616.issue29073@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2016-12-26 09:52:44sanjiohsetrecipients: + sanjioh
2016-12-26 09:52:44sanjiohsetmessageid: <1482745964.51.0.352448624616.issue29073@psf.upfronthosting.co.za>
2016-12-26 09:52:44sanjiohlinkissue29073 messages
2016-12-26 09:52:44sanjiohcreate