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

Raymond Hettinger python at rcn.com
Sun Apr 26 04:39:10 CEST 2009


[Eric Smith]
> You might want to note in the PEP that the problem that's being solved 
> is known as the "loop and a half" problem, at least for your motivating 
> case #2.

Thanks.  When I update the PEP, will add that link.
Wanted to get people's reaction here first.
Do the condition-at-the-top format work for everyone
or can someone think-up a condition-at-the-bottom
approach the doesn't suck with respect to existing
Python syntax.


Raymond




More information about the Python-ideas mailing list