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/044626.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:09:23 EDT 2004
In article <LNBBLJKPBEHFEDALKOLCAEPOKJAB.tim.one at comcast.net>,
 "Tim Peters" <tim.one at comcast.net> wrote:

> > Personally, I'd only like to see generator expressions added to Python
> > if they can allow list comprehensions to be deprecated -- to avoid
> > language clutter.
> 
> Listcomps can be deprecated, although not all existing uses of listcomps
> will translate directly into genexps.

Not all?  When would [listcomp] ever not be replaceable by list(gencomp)?

-- 
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