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 berker.peksag, ethan.furman, serhiy.storchaka, vstinner
Date 2016-04-15.12:28:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460723338.61.0.914121845542.issue26766@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm, looks the result type is very unstable.

On release build:

>>> bytearray(b'hello %b') % b"world"
b'hello world'
>>> bytearray(b'hello %b') % b"wor"
b'hello wor'

On debug build:

>>> bytearray(b'hello %b') % b"world"
bytearray(b'hello world')
>>> bytearray(b'hello %b') % b"wor"
b'hello wor'

And current test_bytes.py is passed on release build, but is failed on debug build.
History
Date User Action Args
2016-04-15 12:28:58serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ethan.furman, berker.peksag
2016-04-15 12:28:58serhiy.storchakasetmessageid: <1460723338.61.0.914121845542.issue26766@psf.upfronthosting.co.za>
2016-04-15 12:28:58serhiy.storchakalinkissue26766 messages
2016-04-15 12:28:58serhiy.storchakacreate