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 Zac Hatfield-Dodds
Recipients Zac Hatfield-Dodds
Date 2019-12-14.10:04:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576317847.63.0.718393349876.issue39046@roundup.psfhosted.org>
In-reply-to
Content
>>> from collections.abc import Hashable, Reversible
>>> assert issubclass(Reversible, Hashable)

However, this is trivially wrong - lists are Reversible but not Hashable, and there is no reason to thing that reversible objects should all be hashable.

The versions of these classes in the typing module have the same problem.
History
Date User Action Args
2019-12-14 10:04:07Zac Hatfield-Doddssetrecipients: + Zac Hatfield-Dodds
2019-12-14 10:04:07Zac Hatfield-Doddssetmessageid: <1576317847.63.0.718393349876.issue39046@roundup.psfhosted.org>
2019-12-14 10:04:07Zac Hatfield-Doddslinkissue39046 messages
2019-12-14 10:04:07Zac Hatfield-Doddscreate