[issue28123] _PyDict_GetItem_KnownHash ignores DKIX_ERROR return

Serhiy Storchaka report at bugs.python.org
Thu Nov 3 07:11:13 EDT 2016


Serhiy Storchaka added the comment:

If _PyDict_GetItem_KnownHash() returns an error, it is very likely that following insertdict() with same key will return an error. I would prefer to return an error right after _PyDict_GetItem_KnownHash() is failed. This would look more straightforward.

----------

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


More information about the Python-bugs-list mailing list