[Python-Dev] for loop with if filter

Paul Moore p.f.moore at gmail.com
Fri Nov 16 15:50:32 CET 2007


On 16/11/2007, Gustavo Carneiro <gjcarneiro at gmail.com> wrote:
> Yes, I can do that, as well as I can use the 'continue' statement, but both
> versions are slightly more verbose and less clear than what I propose.

This should go to python-ideas, I guess. (FWIW, I can see the
attraction of the idea, but I don't think it's worth the cost in terms
of new syntax, subtle corner cases, etc etc).

Paul.


More information about the Python-Dev mailing list