Feedback on Until recipe

Antoon Pardon apardon at forel.vub.ac.be
Fri Apr 27 03:10:08 EDT 2007


On 2007-04-26, MRAB <google at mrabarnett.plus.com> wrote:

> At http://mail.python.org/pipermail/python-dev/2006-February/060718.html
> Raymond Hettinger suggested removing the final colon after the 'while'
> if there's no statement after it, which I agree with, although I would
> prefer 'repeat' instead of 'do' (IMHO that doesn't suggest repetition
> clearly enough):
>
> repeat:
>     statements
> while condition:
>     statements
>
> and:
>
> repeat:
>     statements
> while condition

I wouldn't object to this. But more important than how it will look like
IMO is that it gets implemented. Acoording to your URL there is little
chance that this will be implemented before Py3k. A pity.

-- 
Antoon Pardon



More information about the Python-list mailing list