[Python-Dev] PEP 455: TransformDict (original) (raw)

Steven D'Aprano steve at pearwood.info
Sat Sep 14 05:25:47 CEST 2013


On Fri, Sep 13, 2013 at 06:00:18PM -0700, Ethan Furman wrote:

On 09/13/2013 05:49 PM, Steven D'Aprano wrote: > >+1 on transform method on dicts.

What would transform do? Just canonicalize the key, or also save the original key? How much front-end work will each user have to do to actually use this new magic method to good effect?

Sorry, I missed replying to this part.

See Serhiy's post:

https://mail.python.org/pipermail/python-dev/2013-September/128633.html

and suggested patch here:

http://bugs.python.org/issue18986

-- Steven



More information about the Python-Dev mailing list