[Python-checkins] peps: Reject PEP 315.

R. David Murray rdmurray at bitdance.com
Wed Jun 26 18:18:08 CEST 2013


On Wed, 26 Jun 2013 17:39:07 +0200, lukasz.langa <python-checkins at python.org> wrote:
> -    Deferred; see
> +    Rejected; see
> +    http://mail.python.org/pipermail/python-ideas/2013-June/021610.html
> +
> +    This PEP has been deferred since 2006; see
>      http://mail.python.org/pipermail/python-dev/2006-February/060718.html
>  
>      Subsequent efforts to revive the PEP in April 2009 did not
>      meet with success because no syntax emerged that could
> -    compete with a while-True and an inner if-break.
> +    compete with the following form:
>  
> -    A syntax was found for a basic do-while loop but it found
> -    had little support because the condition was at the top:
> +        while True:
> +            <setup code>
> +            if not <condition>:
> +                break
> +            <loop body>
>  
> -        do ... while <cond>:
> -            <loop body>
> +    Users of the language are advised to use that form when a do-while
> +    loop would have been appropriate.

Why delete the information about what was found wanting?

--David


More information about the Python-checkins mailing list