Message238228
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. |
|
Date |
User |
Action |
Args |
2015-03-16 17:05:30 | brett.cannon | set | recipients:
+ brett.cannon |
2015-03-16 17:05:30 | brett.cannon | set | messageid: <1426525530.11.0.0814957947674.issue23681@psf.upfronthosting.co.za> |
2015-03-16 17:05:30 | brett.cannon | link | issue23681 messages |
2015-03-16 17:05:29 | brett.cannon | create | |
|