No Do while/repeat until looping construct in python?

Alex Martelli aleax at aleax.it
Fri Mar 14 03:20:36 EST 2003


Dennis Lee Bieber wrote:
  ...
>                 exit when condition;


<sarcasm intensity="mild" state="on">

I'm sure the HUGE syntax-sugar difference between

    exit when condition;

and

    if condition: break

is ENTIRELY worth the similarly-huge amounts of time,
energy, attentions and bits being lavished on this thread
and its innumerable predecessors and successors.  Let's 
keep it up, by all means -- we wouldn't ever want to 
discuss anything _useful_, would we?-)

</sarcasm>


Alex





More information about the Python-list mailing list