<div dir="ltr"><br><br><div class="gmail_quote">2012/1/11 Manuel Bärenz <span dir="ltr"><<a href="mailto:manuel@enigmage.de">manuel@enigmage.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I propose two new control flows for Python:<br>
<br>
"while ... try":<br>
<br>
while expr try:<br>
    suite1<br>
except SomeException:<br>
    suite2<br>
else:<br>
    suite3<br></blockquote><div><snip><br></div></div><br>Manuel,<br>Thanks for the improvement idea, but I must admit I'm -1 on this. Having first looked at the proposed syntax without your explanation, I found it hard to be sure what it does, and this goes against the spirit of Python. The compound statement it purports to replace is just one indent deeper and much clearer.<br>

<br>Eli<br><br></div>