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 brett.cannon
Recipients brett.cannon
Date 2015-03-16.17:05:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426525530.11.0.0814957947674.issue23681@psf.upfronthosting.co.za>
In-reply-to
Content
To help writing Python 2/3 code the -b flag should switch on a warning when comparing an int to a bytes object in Python 2. This will help when someone writes something like `b'abcd'[2] == b'c'` and it always returns False thanks to the indexing returning 99 in Python 3.
History
Date User Action Args
2015-03-16 17:05:30brett.cannonsetrecipients: + brett.cannon
2015-03-16 17:05:30brett.cannonsetmessageid: <1426525530.11.0.0814957947674.issue23681@psf.upfronthosting.co.za>
2015-03-16 17:05:30brett.cannonlinkissue23681 messages
2015-03-16 17:05:29brett.cannoncreate