New submission from Mark Shannon <m...@hotpy.org>:

Specialization and other optimizations rely on shared dictionary key properties 
(version number, no deletions, etc).
However checking those properties during specialization is tricky and rather 
clunky as the dict-keys can only be tested indirectly through a dictionary.

We should add a few internal API functions. Specifically we want to know:

Is a key in a dict-keys?
What index is that key at?
Is a dict-keys all unicode?

----------
assignee: Mark.Shannon
messages: 401936
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: Expose indexing and other simple operations on dict-keys in internal API

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45219>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to