@@ -2442,3 +2442,8 @@ Due to a change in the way docstrings are handled by the compiler, the |
|
|
2442 |
2442 |
implicit ``return None`` in a function body consisting solely of a docstring |
2443 |
2443 |
is now marked as occurring on the same line as the docstring, not on the |
2444 |
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`.) |