<div dir="auto">Looks to me the prohibition was to prevent a crash. It makes more sense to fix it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 28, 2017 03:39, "Serhiy Storchaka" <<a href="mailto:storchaka@gmail.com">storchaka@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Currently 'continue' is prohibited inside 'finally' clause, but 'break' and 'return' are allowed. What is the r<br>
<br>
'continue' was prohibited in <a href="https://bugs.python.org/issue1542451" rel="noreferrer" target="_blank">https://bugs.python.org/issue1<wbr>542451</a>. Should we prohibit also 'break' and 'return' or allow<br>
'continue'? 'break' and 'return' are never used inside 'finally' clause in the stdlib.<br>
<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/options/python-dev/guido%<wbr>40python.org</a><br>
</blockquote></div><br></div>