[issue31254] WeakKeyDictionary/Mapping doesn't call __missing__

Antony Lee report at bugs.python.org
Fri Aug 25 13:19:19 EDT 2017


Antony Lee added the comment:

Thanks for the clarification!

"at least if the original key is not `obj` but some other object equal to `obj`" does not apply in my case so I'm fine, but the example shows that this is tricky to get right...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31254>
_______________________________________


More information about the Python-bugs-list mailing list