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/2004-May/044639.html below:

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

[Python-Dev] Re: PEP 289 - Generator Expressions - Let's Move Forward [Python-Dev] Re: PEP 289 - Generator Expressions - Let's Move ForwardGreg Ewing greg at cosc.canterbury.ac.nz
Sun May 2 23:41:14 EDT 2004
"Russell E. Owen" <rowen at cesmail.net>:

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

That's possible in the sense that a list comprehension
can be written as list(generator_expression).

But it will still be necessary to decide whether to
wrap a list() around it.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

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