[docs] [issue23987] docs about containers membership testing wrong for broken objects

Raymond Hettinger report at bugs.python.org
Thu Aug 22 12:35:30 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

It looks like the identity-implies-equality part of this has already been taken care of.   The __hash__ invariant also appears to now have extensive coverage, some in the glossary and much more in the data model section of the reference.  Cute puzzles like a __hash__ returning a random value can be left for stackoverflow.

----------
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue23987>
_______________________________________


More information about the docs mailing list