<div dir="ltr"><div class="gmail_quote">On Sun, Jun 10, 2012 at 7:04 PM, MRAB <span dir="ltr"><<a href="mailto:python@mrabarnett.plus.com" target="_blank">python@mrabarnett.plus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 10/06/2012 16:50, Yuval Greenfield wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I hope this isn't too off-topic, but is the tutorial supposed to<br>
exhaustively explain the python language?<br>
<br>
Because if not, then the for-else/while-else clause may be a good thing<br>
to move to an appendix.<br>
<br>
</blockquote></div></div>
The for-else/while-else clause is part of the core language, so it<br>
should be explained.<div class="HOEnZb"><div class="h5"></div></div></blockquote></div><br><div><br></div><div>If we want a dust of a chance to deprecate for-else/while-else in python 6, circa 2031, then we should at least move it to the back of the tutorial. I'm not suggesting to completely delete the text, just to nudge it to the end. This clause is most definitely not a common pattern in python. Personally I've never seen it in the wild and most pythonistas I've spoken with have never heard of the construct.</div>
<div><br></div><div>Yuval</div></div>