summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f21c2b8..f051864 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -50,6 +50,12 @@ Core and Builtins
Library
-------
+- Issue #23353: Fix the exception handling of generators in
+ PyEval_EvalFrameEx(). At entry, save or swap the exception state even if
+ PyEval_EvalFrameEx() is called with throwflag=0. At exit, the exception state
+ is now always restored or swapped, not only if why is WHY_YIELD or
+ WHY_RETURN. Patch co-written with Antoine Pitrou.
+
- Issue #18518: timeit now rejects statements which can't be compiled outside
a function or a loop (e.g. "return" or "break").