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

Eric V. Smith report at bugs.python.org
Mon Sep 9 21:13:03 CEST 2013


Eric V. Smith added the comment:

Just today I was using a defaultdict where the keys are stock symbols. They're case insensitive (at least for this particular application).

In this case I just str.upper everything, but it would be a nice feature to case-preserve the keys that I pre-populate. I care less about the keys from user data.

----------

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


More information about the Python-bugs-list mailing list