mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
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.
This commit is contained in:
parent
6304d983a0
commit
676593859e
16 changed files with 86 additions and 77 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue