[Python-ideas] "While" suggestion
Raymond Hettinger
python at rcn.com
Fri Jul 4 04:58:27 CEST 2008
From: "BJörn Lindqvist" <bjourne at gmail.com>
> I would definitely prefer a do-until or do-while construct instead.
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.
Raymond
More information about the Python-ideas
mailing list