From: Gregory Ewing on
Ulrich Eckhardt wrote:

> so why not:
>
> while <expression> as <name>:
> ...
>
> and also:
>
> if <expression> as <name>:
> ...

This sort of thing has been suggested repeatedly in the
past, and it's always been rejected. That's not likely to
change. Look up the past threads for the reasons why.

--
Greg