[Python-ideas] PEP 315: do-while

Ethan Furman ethan at stoneleaf.us
Thu Jun 27 17:55:15 CEST 2013


On 06/27/2013 07:48 AM, jimjhb at aol.com wrote:
>
> Bottom line is most other languages allow early termination of for loops
> without breaking out of them.  Python does not.

If they are terminating early, then they most certainly are breaking out of them, regardless of whether the word 'break' 
is used.

--
~Ethan~


More information about the Python-ideas mailing list