Re: [Python-Dev] PEP 455: TransformDict

2013年9月13日 20:27:33 -0700

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
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to