Christoph Zwerschke <c...@online.de> added the comment:

My point was that it's not immediately obvious what "by default" means and that 
hashability is not only affected by the __hash__ method but also by __eq__.

But I agree, you can argue that "by default" already includes not adding any 
special methods like __eq__ and the glossary should not become too verbose. (I 
remember these words from Donald Knuth in one of his books: "In the interest of 
conciseness, you need to indulge in simplifications that are really little 
lies; these should be overlooked.")

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37110>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to