PEP 315: Enhanced While Loop

Istvan Albert ialbert at mailblocks.com
Sat May 3 18:54:38 EDT 2003


Ben Allfree wrote:

> But both of you are getting caught up in the name I chose rather than the
> concept of introducing a single new loop construct that somehow clearly
> indicates that the exit test will be performed after the loop body has
> executed once.

I would argue that the usefulness of such a construct might
be limited. It is nice to have an approach that is
maybe one line shorter but if the price is that you have to introduce
an entirely new syntax I'd pass.

Istvan.





More information about the Python-list mailing list