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

R. David Murray report at bugs.python.org
Mon Sep 9 22:41:19 CEST 2013


R. David Murray added the comment:

Indeed.  Although there was apparently some call for it, it doesn't sound from a quick google like defaultdict was deemed to require a PEP.  Presumably the informed audience should be wider than this issue, though.

I also note that defaultdict is implemented via a special method on dict itself (__missing__), and if this one was implemented the same way it would be easy to combine the features.

----------

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


More information about the Python-bugs-list mailing list