We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41254eb commit 04290cbCopy full SHA for 04290cb
Doc/whatsnew/3.7.rst
@@ -2442,3 +2442,8 @@ Due to a change in the way docstrings are handled by the compiler, the
2442
implicit ``return None`` in a function body consisting solely of a docstring
2443
is now marked as occurring on the same line as the docstring, not on the
2444
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