why no "do : until"?

Steve Williams sandj.williams at gte.net
Sun Dec 31 23:36:26 EST 2000


Tim Peters wrote:

> To summarize 10 years of fruitless discussion on this issue:  yes,
>
>     while 1:
>         ...
>         if finished:
>             break
>
> is the intended way to spell "do ... until" in Python.
>

[cut...cut...cut]

I adore the

    While 1:
        . . .
    Else:
        . . .

construct.

I use it in all my programs.  It's soooo Pythonic.






More information about the Python-list mailing list