[issue28457] Make public the current private known hash functions in the C-API

2016-10-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Semantic of _PyDict_GetItem_KnownHash is not clear. Should it correspond PyDict_GetItem or PyDict_GetItemWithError? See issue28123. -- dependencies: +_PyDict_GetItem_KnownHash ignores DKIX_ERROR return nosy: +serhiy.storchaka

[issue28457] Make public the current private known hash functions in the C-API

2016-10-16 Thread Raymond Hettinger
New submission from Raymond Hettinger: 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. -- components: