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

Larry Hastings larry at hastings.org
Sun Apr 26 05:55:52 CEST 2009


Ron Adam wrote:
> I'd prefer a bare "while:" with a more visible "break if" and possibly 
> "continue if" expressions.

I do like "break if" and "continue if", unsurprisingly as I suggested 
them in parallel.  I'm not sure about the "while:"; your "while: ... 
continue if ; break" strikes down some of the clarity we're trying to 
achieve here.



/larry/



More information about the Python-ideas mailing list