[Python-ideas] "While" suggestion

Fred Drake fdrake at acm.org
Fri Jul 4 05:21:12 CEST 2008

On Jul 3, 2008, at 10:58 PM, Raymond Hettinger wrote:
> I co-authored a PEP for a do-while construct and it died solely  
> because we couldn't find a good pythonic syntax.  The proposed while- 
> as construct will neatly solve some of the use cases -- the rest  
> will have to live with what we've got.

I actually like the "do: ... while <expr>: ..." syntax better.


Fred Drake   <fdrake at acm.org>

More information about the Python-ideas mailing list