Re: [Python-Dev] 'continue'/'break'/'return' inside 'finally' clause

2018年1月02日 13:36:12 -0800

Serhiy Storchaka <[email protected]> wrote:
> Currently 'break' and 'return' are never used inside 'finally'
> clause in the stdlib.
See the _recv_bytes() function:
Lib/multiprocessing/connection.py: 316
> I would want to see a third-party code that uses them.
These are the only ones I found so far:
./gevent/src/gevent/libev/corecffi.py: 147
./gevent/src/gevent/threadpool.py: 226
I have an AST walker script that finds them.
Regards,
 Neil
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to