File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11PEP: 765
22Title: Disallow return/break/continue that exit a finally block
33Author: Irit Katriel <irit@python.org>, Alyssa Coghlan <ncoghlan@gmail.com>
4- Discussions-To: https://discuss.python.org/t/an-analysis-of -return-in-finally-in-the-wild/70633
4+ Discussions-To: https://discuss.python.org/t/pep-765-disallow -return-break-continue-that-exit-a-finally-block/71348
55Status: Draft
66Type: Standards Track
77Created: 15-Nov-2024
88Python-Version: 3.14
99Post-History: `09-Nov-2024 <https://discuss.python.org/t/an-analysis-of-return-in-finally-in-the-wild/70633 >`__,
10+ `16-Nov-2024 <https://discuss.python.org/t/pep-765-disallow-return-break-continue-that-exit-a-finally-block/71348 >`__,
1011
1112Abstract
1213========
@@ -66,7 +67,7 @@ A recent `analysis of real world code
6667This new data indicates that it would benefit Python's users if
6768Python itself moved them away from this harmful feature.
6869
69- ` One of the arguments brought up
70+ One of the arguments brought up in ` the PEP 601 discussion
7071<https://discuss.python.org/t/pep-601-forbid-return-break-continue-breaking-out-of-finally/2239/24> `__
7172was that language features should be orthogonal, and combine without
7273context-based restrictions. However, in the meantime :pep: `654 ` has
You can’t perform that action at this time.
0 commit comments