<div dir="ltr">I'm sorry, I don't think more research can convince me either way. I want all three of return/break/continue to work inside finally clauses, despite there being few use cases.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 3, 2018 at 2:30 PM, Neil Schemenauer <span dir="ltr"><<a href="mailto:nas-python@arctrix.com" target="_blank">nas-python@arctrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2018-01-03, Serhiy Storchaka wrote:<br>
> I haven't found 'finally' clauses in<br>
> <a href="https://github.com/gevent/gevent/blob/master/src/gevent/libev/corecffi.py" rel="noreferrer" target="_blank">https://github.com/gevent/<wbr>gevent/blob/master/src/gevent/<wbr>libev/corecffi.py</a>.<br>
> Perhaps this code was changed in recent versions.<br>
<br>
</span>Yes, I was looking at was git revision bcf4f65e.  I reran my AST<br>
checker and found this:<br>
<br>
./src/gevent/_ffi/loop.py: 181: return inside finally<br>
<span class=""><br>
> In any case we now know that this combination is occurred (but<br>
> very rarely) in the wild.<br>
<br>
</span>Looks like it.  If we do want to seriously consider changing the<br>
grammar, I will download more packages of PyPI and check them.<br>
<br>
BTW, ./src/gevent/threadpool.py doesn't compile with 3.7 because it<br>
uses 'async' as a variable name.  So either they didn't notice the<br>
deprecation warnings or they didn't care to update their code.<br>
<br>
Regards,<br>
<br>
  Neil<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/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/<wbr>mailman/options/python-dev/<wbr>guido%40python.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div>