Message238228
| 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: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 | |