summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.7.rst
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2018-06-12 03:20:34 (GMT)
committerGitHub <noreply@github.com>2018-06-12 03:20:34 (GMT)
commit04290cb9945eca1a97f6924495256c15f29fab41 (patch)
tree93210dbb5aff7e2ff3b7978d0e229ae317ccb387 /Doc/whatsnew/3.7.rst
parent41254ebd5e4f40a2e095d8aaea60bf3973de4647 (diff)
downloadcpython-04290cb9945eca1a97f6924495256c15f29fab41.zip
cpython-04290cb9945eca1a97f6924495256c15f29fab41.tar.gz
cpython-04290cb9945eca1a97f6924495256c15f29fab41.tar.bz2
bpo-25612: Add minimal What's New in 3.7 entry (GH-7656)
Diffstat (limited to 'Doc/whatsnew/3.7.rst')
-rw-r--r--Doc/whatsnew/3.7.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index a7ea0af..bb9c3ab 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`.)