]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35370: PyEval_SetTrace() logs unraisable error (GH-18977) (GH-19029)
authorVictor Stinner <vstinner@python.org>
Mon, 16 Mar 2020 17:18:20 +0000 (18:18 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Mar 2020 17:18:20 +0000 (18:18 +0100)
commit046255c40fc0d9c5a4c528eb5955792fa08df66f
treeb4f3c3601fa6de928cbdb1443bf002babd527c73
parent7f5302fed4ff0cc8042e639b29a0664a16bc2702
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)
Misc/NEWS.d/next/C API/2020-03-13-16-44-23.bpo-35370.sXRA-r.rst [new file with mode: 0644]
Python/ceval.c