bpo-25612: Add minimal What's New in 3.7 entry (GH-7656) (GH-7658) · python/cpython@ef5f4ba (original) (raw)

Original file line number Diff line number Diff line change
@@ -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`.)