[issue18986] Add a case-insensitive case-preserving dict

Mark Dickinson report at bugs.python.org
Thu Dec 12 21:34:01 CET 2013


Mark Dickinson added the comment:

+1 for this (for Python 3.5, now, I guess). I've just found another place where I'd use it.

Looking at the implementation, one thing surprises me a bit:  I'd expect the KeyError from a 'del' or 'pop' operation to have the untransformed key rather than the transformed key in its .args.

How about '_keys' and '_values' for the slot names, in place of '_original' and '_data'?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18986>
_______________________________________


More information about the Python-bugs-list mailing list