A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-September/128687.html below:

[Python-Dev] PEP 455: TransformDict

[Python-Dev] PEP 455: TransformDict [Python-Dev] PEP 455: TransformDictLarry Hastings larry at hastings.org
Sun Sep 15 06:56:26 CEST 2013
On 09/14/2013 07:30 PM, Antoine Pitrou wrote:
> On Sat, 14 Sep 2013 14:33:56 +0900
> Larry Hastings <larry at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130915/0b8d4b83/attachment-0001.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4