diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-05 01:54:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 01:54:55 +0200 |
commit | 676593859e75d4c3543d143092b77f55389006e4 (patch) | |
tree | 9b88c52954c170674e1ad0bae3018009489942a4 /Python/perf_trampoline.c | |
parent | 6304d983a0656c1841769bf36e5b42819508d21c (diff) | |
download | cpython-676593859e75d4c3543d143092b77f55389006e4.tar.gz cpython-676593859e75d4c3543d143092b77f55389006e4.zip |
gh-106320: Remove private _PyErr_WriteUnraisableMsg() (#108863)
Move the private _PyErr_WriteUnraisableMsg() functions to the
internal C API (pycore_pyerrors.h).
Move write_unraisable_exc() from _testcapi to _testinternalcapi.
Diffstat (limited to 'Python/perf_trampoline.c')
-rw-r--r-- | Python/perf_trampoline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/perf_trampoline.c b/Python/perf_trampoline.c index 10675bf9f82..0f1af30226d 100644 --- a/Python/perf_trampoline.c +++ b/Python/perf_trampoline.c @@ -133,6 +133,7 @@ any DWARF information available for them). #include "pycore_ceval.h" #include "pycore_frame.h" #include "pycore_interp.h" +#include "pycore_pyerrors.h" // _PyErr_WriteUnraisableMsg() #ifdef PY_HAVE_PERF_TRAMPOLINE |