Title: Allow 'continue' in 'finally' clause
Type: enhancement Stage: patch review
Components: Interpreter Core Versions: Python 3.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: gvanrossum, nitishch, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2018-01-03 21:11 by serhiy.storchaka, last changed 2018-02-14 03:26 by nitishch.

Messages (3)
msg309434 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-01-03 21:11
A 'continue' statement is illegal in the 'finally' clause due to a problem with the current implementation. After resolving issue17611 it will be easy to remove this restriction.
msg309436 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-01-03 21:16
See the patch against PR 5006 at
msg309441 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2018-01-03 21:53
I think this should be accepted once the code is reviewed.
Date User Action Args
2018-02-14 03:26:38nitishchsetnosy: + nitishch
2018-02-13 11:29:16serhiy.storchakasetpull_requests: - pull_request5461
2018-02-13 11:28:47serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request5461
2018-01-03 21:53:15gvanrossumsetmessages: + msg309441
2018-01-03 21:16:42serhiy.storchakasetmessages: + msg309436
2018-01-03 21:11:07serhiy.storchakacreate