[Python-Dev] PEP 455: TransformDict

Mark Janssen dreamingforward at gmail.com
Tue Oct 8 03:17:09 CEST 2013


Sorry I missed the original discussion, but isn't this a simple case
of putting a decorator around the getitem method (to transform the
input key) and a single line in the body of the setitem method, making
this very easy adaptation of the existing dict class?

Mark


More information about the Python-Dev mailing list