Thoughts on PEP315

M-a-S NO-MAIL at hotmail.com
Tue Sep 23 06:33:27 CEST 2003


If it was up to me, I would propose

until <condition>:
    <statements>

as an equivalent to:

<statements>
while not <condition>:
    <statements>

and

loop:
   <statements>

for the enless loop, instead of ugly 'while True'.

M-a-S

PS. And I'd introduce the switch construction of course.







More information about the Python-list mailing list