[Python-Dev] PEP 289 - Generator Expressions - Let's Move Forward

Guido van Rossum guido at python.org
Mon May 3 00:09:18 EDT 2004


> What if generator expressions were allowed *only* as a
> parameter to a function call?
> 
> Would that help avoid leading people into the trap of
> using them where they're not appropriate?

Nah, people would just use an identity function to work around the
restriction.

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



More information about the Python-Dev mailing list