]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyErr_WriteUnraisableMsg() (#108863)
authorVictor Stinner <vstinner@python.org>
Mon, 4 Sep 2023 23:54:55 +0000 (01:54 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2023 23:54:55 +0000 (01:54 +0200)
commit676593859e75d4c3543d143092b77f55389006e4
tree9b88c52954c170674e1ad0bae3018009489942a4
parent6304d983a0656c1841769bf36e5b42819508d21c
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.
16 files changed:
Include/cpython/pyerrors.h
Include/internal/pycore_pyerrors.h
Lib/test/audit-tests.py
Lib/test/test_sys.py
Modules/_ctypes/_ctypes.c
Modules/_ctypes/callbacks.c
Modules/_lsprof.c
Modules/_testcapi/clinic/exceptions.c.h
Modules/_testcapi/exceptions.c
Modules/_testinternalcapi.c
Modules/_threadmodule.c
Modules/atexitmodule.c
Modules/clinic/_testinternalcapi.c.h
Modules/getpath.c
Python/compile.c
Python/perf_trampoline.c