[issue28123] _PyDict_GetItem_KnownHash ignores DKIX_ERROR return

STINNER Victor report at bugs.python.org
Tue Sep 13 06:33:56 EDT 2016


STINNER Victor added the comment:

I understand the the code doesn't handle correctly lookup failures. Such failure is easy to trigger in pure Python using a custom __eq__() method for example. Can you please write an unit test for it?

----------

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


More information about the Python-bugs-list mailing list