Skip to content

Commit d15e866

Browse files
authored
PEP 765: add discussion link, tweak one sentence (#4120)
1 parent f999497 commit d15e866

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

peps/pep-0765.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
PEP: 765
22
Title: Disallow return/break/continue that exit a finally block
33
Author: 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
55
Status: Draft
66
Type: Standards Track
77
Created: 15-Nov-2024
88
Python-Version: 3.14
99
Post-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

1112
Abstract
1213
========
@@ -66,7 +67,7 @@ A recent `analysis of real world code
6667
This new data indicates that it would benefit Python's users if
6768
Python 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>`__
7172
was that language features should be orthogonal, and combine without
7273
context-based restrictions. However, in the meantime :pep:`654` has

0 commit comments

Comments
 (0)