]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45711: Remove type and traceback from exc_info (GH-30122)
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Fri, 17 Dec 2021 14:46:22 +0000 (14:46 +0000)
committerGitHub <noreply@github.com>
Fri, 17 Dec 2021 14:46:22 +0000 (14:46 +0000)
commit396b58345f81d4c8c5a52546d2288e666a1b9b8b
tree89140d0930da874df676cfac27d2e85e746a5fc1
parent62a0a2a25dbe3ba6f2973a37a3022d982fdc163c
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
14 files changed:
Doc/library/dis.rst
Doc/whatsnew/3.11.rst
Include/cpython/pystate.h
Include/internal/pycore_pyerrors.h
Lib/importlib/_bootstrap_external.py
Lib/test/test_dis.py
Lib/test/test_sys.py
Misc/NEWS.d/next/Core and Builtins/2021-12-15-15-17-04.bpo-45711.QK4QrB.rst [new file with mode: 0644]
Modules/_asynciomodule.c
Objects/genobject.c
Python/ceval.c
Python/compile.c
Python/errors.c
Python/pystate.c