➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
标题: Allow 'continue' in 'finally' clause
类型: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.8
process
状态: closed Resolution: fixed
Dependencies: 后续:
分配给: serhiy.storchaka 抄送列表: gvanrossum, nitishch, serhiy.storchaka
优先级: normal 关键字: patch

Created on 2018-01-03 21:11 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 5822 merged serhiy.storchaka, 2018-02-22 21:44
PR 15230 closed serhiy.storchaka, 2019-08-12 18:18
Messages (5)
msg309434 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) 日期: 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) 日期: 2018-01-03 21:16
See the patch against PR 5006 at https://github.com/serhiy-storchaka/cpython/pull/2.
msg309441 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) 日期: 2018-01-03 21:53
I think this should be accepted once the code is reviewed.
msg313638 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) 日期: 2018-03-12 11:30
If there are no objections I'll merge this PR soon.
msg314031 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) 日期: 2018-03-18 07:56
New changeset fe2bbb1869b42222a3f331a3dfb8b304a19a5819 by Serhiy Storchaka in branch 'master':
bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822)
https://github.com/python/cpython/commit/fe2bbb1869b42222a3f331a3dfb8b304a19a5819
历史
日期 用户 动作 参数
2022-04-11 14:58:56admin修改github: 76670
2019-08-12 18:18:36serhiy.storchaka修改pull_requests: + pull_request14954
2018-03-18 09:56:09serhiy.storchaka修改状态: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-03-18 07:56:55serhiy.storchaka修改消息: + msg314031
2018-03-12 11:30:54serhiy.storchaka修改消息: + msg313638
versions: + Python 3.8, - Python 3.7
2018-02-22 21:44:24serhiy.storchaka修改pull_requests: + pull_request5599
2018-02-14 03:26:38nitishch修改抄送: + nitishch
2018-02-13 11:29:16serhiy.storchaka修改pull_requests: - pull_request5461
2018-02-13 11:28:47serhiy.storchaka修改keywords: + patch
stage: patch review
pull_requests: + pull_request5461
2018-01-03 21:53:15gvanrossum修改消息: + msg309441
2018-01-03 21:16:42serhiy.storchaka修改消息: + msg309436
2018-01-03 21:11:07serhiy.storchaka创建