[Python-Dev] generator expression syntax

Guido van Rossum guido at python.org
Wed Mar 24 06:37:12 EST 2004


> 	lambda: yield x*x for x in a

Sorry, this was considered and rejected ages ago.

Please don't open the syntactic discussion on generator expressions;
we've had it already and you're unlikely to unearth anything new.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list