mirror of
https://github.com/python/cpython.git
synced 2025-10-13 18:33:34 +00:00
bpo-40268: Remove unused pycore_pymem.h includes (GH-19531)
This commit is contained in:
parent
4a21e57fe5
commit
d9ea5cae1d
21 changed files with 13 additions and 26 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pyhash.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
|
||||
#include "pycore_interp.h" // _PyInterpreterState_ClearModules()
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
#include "pycore_sysmodule.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "pycore_pathconfig.h"
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include <locale.h> // setlocale()
|
||||
#ifdef HAVE_LANGINFO_H
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "pycore_initconfig.h"
|
||||
#include "pycore_fileutils.h"
|
||||
#include "pycore_pathconfig.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
|
||||
#include <wchar.h>
|
||||
#ifdef MS_WINDOWS
|
||||
# include <windows.h> // GetFullPathNameW(), MAX_PATH
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "Python.h"
|
||||
#include "pycore_getopt.h"
|
||||
#include "pycore_initconfig.h"
|
||||
#include "pycore_pymem.h" // _PyMem_GetAllocatorName()
|
||||
#include "pycore_runtime.h" // _PyRuntime_Initialize()
|
||||
#include <locale.h> // setlocale()
|
||||
#include "pycore_pymem.h" // _PyMem_GetAllocatorName()
|
||||
#include "pycore_runtime.h" // _PyRuntime_Initialize()
|
||||
#include <locale.h> // setlocale()
|
||||
|
||||
|
||||
#define DECODE_LOCALE_ERR(NAME, LEN) \
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include "pycore_pathconfig.h"
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_sysmodule.h"
|
||||
#include "pycore_traceback.h"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "pycore_initconfig.h"
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_sysmodule.h"
|
||||
|
||||
|
|
|
@ -17,14 +17,14 @@ Data members:
|
|||
#include "Python.h"
|
||||
#include "code.h"
|
||||
#include "frameobject.h"
|
||||
#include "pycore_ceval.h" // _Py_RecursionLimitLowerWaterMark()
|
||||
#include "pycore_ceval.h" // _Py_RecursionLimitLowerWaterMark()
|
||||
#include "pycore_initconfig.h"
|
||||
#include "pycore_object.h"
|
||||
#include "pycore_pathconfig.h"
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_tupleobject.h"
|
||||
#include "pydtrace.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue