This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Make public the current private known hash functions in the C-API
Type: Stage:
Components: Interpreter Core Versions: Python 3.7
process
Status: open Resolution:
Dependencies: 28123 Superseder:
Assigned To: Nosy List: rhettinger, serhiy.storchaka
Priority: normal Keywords:

Created on 2016-10-16 23:42 by rhettinger, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg278788 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2016-10-16 23:42
The known-hash variants for dict getitem/setitem/delitem have proven useful to us for writing fast C code.  They may be useful to others as well.  There does not seem to be any other way of getting to this functionality.
msg279284 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-10-23 20:25
Semantic of _PyDict_GetItem_KnownHash is not clear. Should it correspond PyDict_GetItem or PyDict_GetItemWithError? See issue28123.
History
Date User Action Args
2022-04-11 14:58:38adminsetgithub: 72643
2016-10-23 20:25:07serhiy.storchakasetnosy: + serhiy.storchaka
dependencies: + _PyDict_GetItem_KnownHash ignores DKIX_ERROR return
messages: + msg279284
2016-10-16 23:42:23rhettingercreate