A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044633.html below:

[Python-Dev] Re: PEP 289 - Generator Expressions

[Python-Dev] Re: PEP 289 - Generator Expressions - Let's MoveForward [Python-Dev] Re: PEP 289 - Generator Expressions - Let's MoveForwardDavid Eppstein eppstein at ics.uci.edu
Fri Apr 30 18:28:12 EDT 2004
On 4/30/04 6:11 PM -0400 Barry Warsaw <barry at python.org> wrote:
>> Not all?  When would [listcomp] ever not be replaceable by list(gencomp)?
>
> I dunno.  I happen to like [listcomp] syntax over list(genexpr).

Oh, me too (and I'm getting a little irritated with writing dict([...]) so 
often instead of having a proper dictcomp syntax) but semantically I think 
they are the same.
-- 
David Eppstein                      http://www.ics.uci.edu/~eppstein/
Univ. of California, Irvine, School of Information & Computer Science


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