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

R. David Murray report at bugs.python.org
Thu Sep 12 17:02:39 CEST 2013


R. David Murray added the comment:

You are conceptualizing this very differently.  In our view, this data structure is for cases where the original key is the most important piece of information (about the keys).  The transformation in the lookup process is entirely in the service of looking up the value paired with that original key when there is more than one possible representation of that key.  It is the original key that is critical when re-serializing the data or otherwise making use of the keys for anything other than lookup.  So this is about making the data structure succinctly model the problem domain, which is what OO is supposed to be good at :)

----------

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


More information about the Python-bugs-list mailing list