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 serhiy.storchaka
Recipients ethan.furman, freakboy3742, sanjioh, serhiy.storchaka, vstinner
Date 2016-12-26.10:31:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482748283.09.0.685115605461.issue29073@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed, there is an inconsistency between bytes and bytearray in 3.5:

>>> b'a\0b' % ()
b'a\x00b'
>>> bytearray(b'a\0b') % ()
bytearray(b'a')

It was unintentionally fixed in issue25399.

Proposed patch fixes the issue.
History
Date User Action Args
2016-12-26 10:31:23serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, freakboy3742, ethan.furman, sanjioh
2016-12-26 10:31:23serhiy.storchakasetmessageid: <1482748283.09.0.685115605461.issue29073@psf.upfronthosting.co.za>
2016-12-26 10:31:23serhiy.storchakalinkissue29073 messages
2016-12-26 10:31:22serhiy.storchakacreate