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 leopold.talirz, rhettinger, serhiy.storchaka
Date 2021-09-02.05:50:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630561855.95.0.0262632634614.issue45080@roundup.psfhosted.org>
In-reply-to
Content
1. self.hashvalue == other.hashvalue is not enough. Different tuples can have the same hash value, so you steel need to compare their context.

2. _HashedSeq is only used as a key in a dictionary. When you look up a key in dictionary, it compares hashes first. __eq__ is only called when hashes match.
History
Date User Action Args
2021-09-02 05:50:55serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, leopold.talirz
2021-09-02 05:50:55serhiy.storchakasetmessageid: <1630561855.95.0.0262632634614.issue45080@roundup.psfhosted.org>
2021-09-02 05:50:55serhiy.storchakalinkissue45080 messages
2021-09-02 05:50:55serhiy.storchakacreate