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/2003-October/039662.html below:

[Python-Dev] PEP 289: Generator Expressions

[Python-Dev] PEP 289: Generator ExpressionsAlex Martelli aleaxit at yahoo.com
Mon Oct 27 18:19:29 EST 2003
On Monday 27 October 2003 10:13 pm, Raymond Hettinger wrote:
   ...
> Several people initially thought that lambda should be part of the

yield was repeatedly mentioned, and I don't recall lambda being, so
maybe this is a typo.

> syntax, but other respondants quickly laid that to rest.

Yes, consensus clearly converged on the proposed syntax (the mention
of "generators" in the construct's name was the part that I think prompted
the desire for 'yield' -- had they been called "iterator expressions" I
suspect nobody would have missed 'yield' even transiently:-).


> One poster counter-suggested a weird regex style syntax for embedding
> Perl expressions.  The newsgroup was very kind and no one called him
> wacko :-)

...though I did say "if you want Perl, you know where to find it"...:-)


> The discussion is winding down and there are no unresolved questions.

Yes, fair summary.  The one persistent (but low-as-a-whisper) grumbling
is by one A.M., who keeps mumbling "they're _iterator_ expressions, the
fact that they use generators is an implementation detail, grmbl grmbl":-).
But then, he IS one of those pesky must-always-have-SOME-whine types.


Alex


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