Message333068
For historical reasons. In Python 2, str and unicode consisting of ASCII characters can be equal. Equal values should have the same hash. In Python 3, bytes and str are always different. This can cause subtle bugs in the code ported from Python 2. Options -b and -bb were added to help to catch such bugs. For increasing a chance of catching such bugs, hashes of bytes and str consisting of ASCII characters with same codes, should be equal. |
|
Date |
User |
Action |
Args |
2019-01-05 19:14:28 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, scoder, malin |
2019-01-05 19:14:26 | serhiy.storchaka | set | messageid: <1546715666.59.0.792366719806.issue35636@roundup.psfhosted.org> |
2019-01-05 19:14:26 | serhiy.storchaka | link | issue35636 messages |
2019-01-05 19:14:26 | serhiy.storchaka | create | |
|