[Python-ideas] Updating PEP 315: do-while loops

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 28 02:49:41 CEST 2009

Terry Reedy wrote:
> But even the above does not work great for 
> multiple "if... break"s and not at all for "if...continue".

Personally I don't care at all about that. This is about
providing a clearly structured way to write the most
common case.

As soon as you have multiple breaks you've already got
one foot in spaghetti-land and any notion of clean
structure has gone out the window.


More information about the Python-ideas mailing list