[Python-Dev] 'continue'/'break'/'return' inside 'finally' clause
Serhiy Storchaka
storchaka at gmail.com
Thu Dec 28 05:21:53 EST 2017
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.
More information about the Python-Dev
mailing list