diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-24 20:02:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 20:02:09 (GMT) |
commit | a071ecb4d13595f3580cf82061dcd7b39cd475c5 (patch) | |
tree | c744a2942c27476f0cd5c71faf336ad64142756a /Modules/faulthandler.c | |
parent | 26893016a7f204b2e7138fc9ce04525a651c202e (diff) | |
download | cpython-a071ecb4d13595f3580cf82061dcd7b39cd475c5.zip cpython-a071ecb4d13595f3580cf82061dcd7b39cd475c5.tar.gz cpython-a071ecb4d13595f3580cf82061dcd7b39cd475c5.tar.bz2 |
gh-106320: Remove private _PySys functions (#108452)
Move private functions to the internal C API (pycore_sysmodule.h):
* _PySys_GetAttr()
* _PySys_GetSizeOf()
No longer export most of these functions.
Fix also a typo in Include/cpython/optimizer.h: add a missing space.
Diffstat (limited to 'Modules/faulthandler.c')
-rw-r--r-- | Modules/faulthandler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c index d8cfc13..5ec34d4 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -3,6 +3,7 @@ #include "pycore_pyerrors.h" // _Py_DumpExtensionModules #include "pycore_pystate.h" // _PyThreadState_GET() #include "pycore_signal.h" // Py_NSIG +#include "pycore_sysmodule.h" // _PySys_GetAttr() #include "pycore_traceback.h" // _Py_DumpTracebackThreads #include <object.h> |