[Python-Dev] 'continue'/'break'/'return' inside 'finally' clause
Serhiy Storchaka
storchaka at gmail.com
Thu Dec 28 05:21:53 EST 2017
More information about the Python-Dev mailing list
Thu Dec 28 05:21:53 EST 2017
- Previous message (by thread): [Python-Dev] PEP 567 v2
- Next message (by thread): [Python-Dev] 'continue'/'break'/'return' inside 'finally' clause
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Currently 'continue' is prohibited inside 'finally' clause, but 'break' and 'return' are allowed. What is the r 'continue' was prohibited in https://bugs.python.org/issue1542451. Should we prohibit also 'break' and 'return' or allow 'continue'? 'break' and 'return' are never used inside 'finally' clause in the stdlib.
- Previous message (by thread): [Python-Dev] PEP 567 v2
- Next message (by thread): [Python-Dev] 'continue'/'break'/'return' inside 'finally' clause
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list