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/2001-October/018232.html below:

[Python-Dev] [UPDATE] PEP 274, Dict Comprehensions

[Python-Dev] [UPDATE] PEP 274, Dict ComprehensionsBarry A. Warsaw barry@zope.com
Mon, 29 Oct 2001 14:22:58 -0500
>>>>> "TP" == Tim Peters <tim.one@home.com> writes:

    TP> BTW, and not meaning to hijack your PEP <wink>, should
    TP> dict.update() accept such an argument too?  I didn't add it
    TP> because

    TP>     d.update(dictionary(such_an_argument))

    TP> seemed "almost good enough".

Agreed.  But either way, I still there there is utility in a dict
comprehension.

    TP> BTW2, are we going to rename "dictionary" to "dict" before
    TP> 2.2b2?  Before 2.2, "dict" was universally used on c.l.py to
    TP> mean dictionary, and I'm at least +0 on adopting that for
    TP> official 2.2 use.

I wouldn't keep them both though.  Use one or the other.

-Barry



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