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 Claudiu.Popa, berker.peksag, brett.cannon, martin.panter, paul.moore, serhiy.storchaka, vstinner
Date 2015-03-20.10:09:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426846148.69.0.311840367914.issue23681@psf.upfronthosting.co.za>
In-reply-to
Content
@Brett: Yes, the patch handles `42 == b'*'` as well.

@Victor: The problem in such code:

x = b'Array'
x[0] == b'A'


Added explicit tests for bytes on the right side of the comparison and replaced b'.'[0] to ord(b'.').
History
Date User Action Args
2015-03-20 10:09:08serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, paul.moore, vstinner, Claudiu.Popa, berker.peksag, martin.panter
2015-03-20 10:09:08serhiy.storchakasetmessageid: <1426846148.69.0.311840367914.issue23681@psf.upfronthosting.co.za>
2015-03-20 10:09:08serhiy.storchakalinkissue23681 messages
2015-03-20 10:09:08serhiy.storchakacreate