[Python-Dev] Add a "transformdict" to collections

Nick Coghlan ncoghlan at gmail.com
Tue Sep 10 14:00:37 CEST 2013


Is this just syntactic sugar for recursive lookup of a transformed version
in __missing__? Or a way of supplying a custom "key" function to a
dictionary?

Any such proposal should consider how it composes with other dict variants
like defaultdict, OrderedDict and counter.

Cheers,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130910/eb002faa/attachment.html>


More information about the Python-Dev mailing list