[Python-Dev] generator expression syntax

Robert Mollitor mollitor at earthlink.net
Wed Mar 24 06:48:50 EST 2004


On Wednesday, March 24, 2004, at 06:37 AM, Guido van Rossum wrote:

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

OK.  Sorry.  I didn't look much deeper than the PEP and recent 
discussion.


Robert Mollitor





More information about the Python-Dev mailing list