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 <rep...@bugs.python.org> <http://bugs.python.org/issue28123> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com