Skip to content

Commit ed9f40b

Browse files
iritkatrielwarsaw
authored andcommitted
pythongh-101578: mention in what's new in 3.12 that exceptions are now normalized before stored (python#102702)
1 parent d1a8da5 commit ed9f40b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,11 @@ Porting to Python 3.12
985985
effects, these side effects are no longer duplicated.
986986
(Contributed by Victor Stinner in :gh:`98724`.)
987987

988+
* The interpreter's error indicator is now always normalized. This means
989+
that :c:func:`PyErr_SetObject`, :c:func:`PyErr_SetString` and the other
990+
functions that set the error indicator now normalize the exception
991+
before storing it. (Contributed by Mark Shannon in :gh:`101578`.)
992+
988993
Deprecated
989994
----------
990995

0 commit comments

Comments
 (0)