Chris Angelico wrote:
The hashability issue is a logical consequence of accepting that the
above violations are reasonable and practically useful.

A more principled way to handle this wouild be for object not
to be hashable, and have another base type for hashable objects.
Hashable would then be a subtype of object, not the other way
around.

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/VXOV5JXZ64AOPC5HR6CGNAU4HPVGG3XO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to