bpo-25612: Add minimal What's New in 3.7 entry (GH-7656) (GH-7658)
(cherry picked from commit 04290cb994
)
Co-authored-by: Ned Deily <nad@python.org>
This commit is contained in:
parent
8379b70be2
commit
ef5f4ba96e
|
@ -2442,3 +2442,8 @@ Due to a change in the way docstrings are handled by the compiler, the
|
||||||
implicit ``return None`` in a function body consisting solely of a docstring
|
implicit ``return None`` in a function body consisting solely of a docstring
|
||||||
is now marked as occurring on the same line as the docstring, not on the
|
is now marked as occurring on the same line as the docstring, not on the
|
||||||
function's header line.
|
function's header line.
|
||||||
|
|
||||||
|
The current exception state has been moved from the frame object to the co-routine.
|
||||||
|
This simplified the interpreter and fixed a couple of obscure bugs caused by
|
||||||
|
having swap exception state when entering or exiting a generator.
|
||||||
|
(Contributed by Mark Shannon in :issue:`25612`.)
|
||||||
|
|
Loading…
Reference in New Issue