Skip to content

Commit 04290cb

Browse files
authored
bpo-25612: Add minimal What's New in 3.7 entry (GH-7656)
1 parent 41254eb commit 04290cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.7.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,3 +2442,8 @@ Due to a change in the way docstrings are handled by the compiler, the
24422442
implicit ``return None`` in a function body consisting solely of a docstring
24432443
is now marked as occurring on the same line as the docstring, not on the
24442444
function's header line.
2445+
2446+
The current exception state has been moved from the frame object to the co-routine.
2447+
This simplified the interpreter and fixed a couple of obscure bugs caused by
2448+
having swap exception state when entering or exiting a generator.
2449+
(Contributed by Mark Shannon in :issue:`25612`.)

0 commit comments

Comments
 (0)