summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-01-25 18:00:57 (GMT)
committerGitHub <noreply@github.com>2022-01-25 18:00:57 (GMT)
commitec7c17ea236f71c8376abcc2930a7c857d417966 (patch)
tree595522db57eb3ed91c0666fa979b76e4d374b86c /Misc/NEWS.d
parentd69d3d8b2fec501e51309221fb1fa4622c8a3db3 (diff)
downloadcpython-ec7c17ea236f71c8376abcc2930a7c857d417966.zip
cpython-ec7c17ea236f71c8376abcc2930a7c857d417966.tar.gz
cpython-ec7c17ea236f71c8376abcc2930a7c857d417966.tar.bz2
bpo-46510: Add missing test for types.TracebackType/FrameType. Calculate them directly from the caught exception. (GH-30880)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2022-01-25-10-59-41.bpo-46510.PM5svI.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-01-25-10-59-41.bpo-46510.PM5svI.rst b/Misc/NEWS.d/next/Library/2022-01-25-10-59-41.bpo-46510.PM5svI.rst
new file mode 100644
index 0000000..b416a16
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-01-25-10-59-41.bpo-46510.PM5svI.rst
@@ -0,0 +1,3 @@
+Add missing test for :class:`types.TracebackType` and
+:class:`types.FrameType`. Calculate them directly from the caught exception
+without calling :func:`sys.exc_info`.