[Python-checkins] bpo-25612: Add minimal What's New in 3.7 entry (GH-7656) (GH-7658)
Ned Deily
webhook-mailer at python.org
Tue Jun 12 00:26:33 EDT 2018
https://github.com/python/cpython/commit/ef5f4ba96e05f61ad3baca502012085f31e99342
commit: ef5f4ba96e05f61ad3baca502012085f31e99342
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Ned Deily <nad at python.org>
date: 2018-06-12T00:26:30-04:00
summary:
bpo-25612: Add minimal What's New in 3.7 entry (GH-7656) (GH-7658)
(cherry picked from commit 04290cb9945eca1a97f6924495256c15f29fab41)
Co-authored-by: Ned Deily <nad at python.org>
files:
M Doc/whatsnew/3.7.rst
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index a7ea0af723a3..bb9c3aba387b 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -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
is now marked as occurring on the same line as the docstring, not on the
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`.)
More information about the Python-checkins
mailing list