summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-12-17 14:46:22 (GMT)
committerGitHub <noreply@github.com>2021-12-17 14:46:22 (GMT)
commit396b58345f81d4c8c5a52546d2288e666a1b9b8b (patch)
tree89140d0930da874df676cfac27d2e85e746a5fc1 /Doc/whatsnew
parent62a0a2a25dbe3ba6f2973a37a3022d982fdc163c (diff)
downloadcpython-396b58345f81d4c8c5a52546d2288e666a1b9b8b.zip
cpython-396b58345f81d4c8c5a52546d2288e666a1b9b8b.tar.gz
cpython-396b58345f81d4c8c5a52546d2288e666a1b9b8b.tar.bz2
bpo-45711: Remove type and traceback from exc_info (GH-30122)
* Do not PUSH/POP traceback or type to the stack as part of exc_info * Remove exc_traceback and exc_type from _PyErr_StackItem * Add to what's new, because this change breaks things like Cython
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.11.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 3005d1d..5389ce8 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -195,6 +195,11 @@ Other CPython Implementation Changes
reflected in the re-raised exception.
(Contributed by Irit Katriel in :issue:`45711`.)
+* The interpreter state's representation of handled exceptions (a.k.a exc_info, or
+ _PyErr_StackItem) now has only the ``exc_value`` field, ``exc_type`` and ``exc_traceback``
+ have been removed as their values can be derived from ``exc_value``.
+ (Contributed by Irit Katriel in :issue:`45711`.)
+
New Modules
===========