[Python-Dev] Wishlist: dowhile
Michael Hudson
mwh at python.net
Mon Jun 13 20:06:21 CEST 2005
Michael McLay <mclay at python.net> writes:
> I think this would be feature creep. It complicates the language
> for a very small gain. While the added syntax would be intuitive, it
> only saves a line or two over the existing syntax.
FWIW, this is my opinion too (and I've written a bunch of while
True:...if x: break loops today, even).
It would be much nicer if people spent time worrying about the
threads in multiple subinterpreters bug, or why
def sc(*classes):
return type('', classes, {})
sc(sc(str), sc(str))
fails.
Cheers,
mwh
--
Guido (like us!) is a bit schizophrenic here: he wants to be a
benevolent dictator, but also wants to treat people like
grownups. This probably worked better before Python got a large
American audience <0.9 wink>. -- Tim Peters, 10 Feb 2000
More information about the Python-Dev
mailing list