diff options
author | Victor Stinner <vstinner@python.org> | 2020-02-03 16:28:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 16:28:26 (GMT) |
commit | 4b524161a0f9d50d782e739a3708434ffd4e94a5 (patch) | |
tree | 683ed20eaa362961e68c48001731a69130046992 /Python | |
parent | c6e5c1123bac6cbb4c85265155af5349dcea522e (diff) | |
download | cpython-4b524161a0f9d50d782e739a3708434ffd4e94a5.zip cpython-4b524161a0f9d50d782e739a3708434ffd4e94a5.tar.gz cpython-4b524161a0f9d50d782e739a3708434ffd4e94a5.tar.bz2 |
bpo-39542: Move object.h debug functions to internal C API (GH-18331)
Move the following functions from the public C API to the internal C
API:
* _PyDebug_PrintTotalRefs(),
* _Py_PrintReferenceAddresses()
* _Py_PrintReferences()
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pylifecycle.c | 1 | ||||
-rw-r--r-- | Python/pythonrun.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index f130735..fbeebbd 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -10,6 +10,7 @@ #include "pycore_initconfig.h" #include "pycore_fileutils.h" #include "pycore_hamt.h" +#include "pycore_object.h" #include "pycore_pathconfig.h" #include "pycore_pyerrors.h" #include "pycore_pylifecycle.h" diff --git a/Python/pythonrun.c b/Python/pythonrun.c index b68a0b5..f4ded2e 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -12,6 +12,7 @@ #include "Python-ast.h" #undef Yield /* undefine macro conflicting with <winbase.h> */ +#include "pycore_object.h" #include "pycore_pyerrors.h" #include "pycore_pylifecycle.h" #include "pycore_pystate.h" |