[issue28123] _PyDict_GetItem_KnownHash ignores DKIX_ERROR return
STINNER Victor
report at bugs.python.org
Tue Sep 13 06:45:21 EDT 2016
STINNER Victor added the comment:
> _PyDict_GetItem_KnownHash is not invoked by any other dict methods.
Oh, I missed that. In this case, I suggest you to expose the function at Python level using the _testcapi module. And then use _testcapi._PyDict_GetItem_KnownHash() in test_dict.
It would be nice to have unit tests on _PyDict_GetItem_KnownHash(), this function starts to become important in Python.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28123>
_______________________________________
More information about the Python-bugs-list
mailing list