summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-16 17:18:20 (GMT)
committerGitHub <noreply@github.com>2020-03-16 17:18:20 (GMT)
commit046255c40fc0d9c5a4c528eb5955792fa08df66f (patch)
treeb4f3c3601fa6de928cbdb1443bf002babd527c73 /Misc/NEWS.d/next/C API
parent7f5302fed4ff0cc8042e639b29a0664a16bc2702 (diff)
downloadcpython-046255c40fc0d9c5a4c528eb5955792fa08df66f.zip
cpython-046255c40fc0d9c5a4c528eb5955792fa08df66f.tar.gz
cpython-046255c40fc0d9c5a4c528eb5955792fa08df66f.tar.bz2
bpo-35370: PyEval_SetTrace() logs unraisable error (GH-18977) (GH-19029)
If PySys_Audit() fails in PyEval_SetProfile() or PyEval_SetTrace(), log the error as an unraisable exception. (cherry picked from commit f6a58507820c67e8d0fb07875cd1b1d9f5e510a8)
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2020-03-13-16-44-23.bpo-35370.sXRA-r.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-03-13-16-44-23.bpo-35370.sXRA-r.rst b/Misc/NEWS.d/next/C API/2020-03-13-16-44-23.bpo-35370.sXRA-r.rst
new file mode 100644
index 0000000..d3f1d29
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-03-13-16-44-23.bpo-35370.sXRA-r.rst
@@ -0,0 +1,2 @@
+If :c:func:`PySys_Audit` fails in :c:func:`PyEval_SetProfile` or
+:c:func:`PyEval_SetTrace`, log the error as an unraisable exception.