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 malin, scoder, serhiy.storchaka
Date 2019-01-05.19:14:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546715666.59.0.792366719806.issue35636@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-01-05 19:14:28serhiy.storchakasetrecipients: + serhiy.storchaka, scoder, malin
2019-01-05 19:14:26serhiy.storchakasetmessageid: <1546715666.59.0.792366719806.issue35636@roundup.psfhosted.org>
2019-01-05 19:14:26serhiy.storchakalinkissue35636 messages
2019-01-05 19:14:26serhiy.storchakacreate