For loop comprehensions

Terry Reedy tjreedy at
Fri Feb 11 22:54:21 EST 2011

On 2/11/2011 6:10 PM, Benjamin S Wolf wrote:
> It occurred to me as I was writing a for loop that I would like to
> write it in generator comprehension syntax, eg.
>    for a in b if c:

Already proposed and rejected. See archives for python-ideas or the 
gmane.comp.python.ideas mirror.

Terry Jan Reedy

More information about the Python-list mailing list