On 09/14/2013 07:30 PM, Antoine Pitrou wrote:
On Sat, 14 Sep 2013 14:33:56 +0900
Larry Hastings <la...@hastings.org> wrote:
Whenever I read a discussion about the dict, I always wonder whether the
same thing applies to a set.  Have you considered the utility of a
TransformSet?  Or is it YAGNI?
Well, a TransformSet is like a normal dict, you just need to call the
transformation function yourself when inserting the keys.

s/normal dict/normal set/

But, then, a TransformDict is like a normal dict, you just need to call the transformation function yourself when inserting the keys. Yet a TransformDict is a useful enough concept that it is being proposed for addition; I was wondering if a TransformSet would be useful, too. But I suppose we should take baby steps here.


//arry/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
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