On Sun, May 21, 2006 at 17:38:49 CEST, Guido van Rossum wrote
> ...
> Also, it would be a parsing conflict for the new conditional
> expressions (x if T else y).
> ...
That's all I needed to know.
Sorry, everyone, I'll try not to waste your time in the future.
___
I'd like to propose an addition to the for statement's syntax:
for {variable} in {iterable} if {condition}:
{block}
which is equivalent to
for {variable} in {iterable}:
if not {condition}:
continue
{block}
and
for {variable} in filter(lambda: {condition}, iterable):
{bl