diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-04 23:54:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 23:54:55 (GMT) |
commit | 676593859e75d4c3543d143092b77f55389006e4 (patch) | |
tree | 9b88c52954c170674e1ad0bae3018009489942a4 /Modules/getpath.c | |
parent | 6304d983a0656c1841769bf36e5b42819508d21c (diff) | |
download | cpython-676593859e75d4c3543d143092b77f55389006e4.zip cpython-676593859e75d4c3543d143092b77f55389006e4.tar.gz cpython-676593859e75d4c3543d143092b77f55389006e4.tar.bz2 |
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 'Modules/getpath.c')
-rw-r--r-- | Modules/getpath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c index 71e23e1..3b926ca 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -4,6 +4,7 @@ #include "pycore_fileutils.h" // _Py_abspath() #include "pycore_initconfig.h" // _PyStatus_EXCEPTION() #include "pycore_pathconfig.h" // _PyPathConfig_ReadGlobal() +#include "pycore_pyerrors.h" // _PyErr_WriteUnraisableMsg() #include "pycore_pymem.h" // _PyMem_RawWcsdup() #include "marshal.h" // PyMarshal_ReadObjectFromString |