mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
gh-131238: Remove more includes from pycore_interp.h (#131480)
This commit is contained in:
parent
63b5aed06e
commit
20c5f969dd
31 changed files with 92 additions and 57 deletions
|
|
@ -116,23 +116,25 @@ As a consequence of this, split keys have a maximum size of 16.
|
|||
#define PyDict_MINSIZE 8
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_bitutils.h" // _Py_bit_length
|
||||
#include "pycore_call.h" // _PyObject_CallNoArgs()
|
||||
#include "pycore_ceval.h" // _PyEval_GetBuiltin()
|
||||
#include "pycore_code.h" // stats
|
||||
#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION, Py_END_CRITICAL_SECTION
|
||||
#include "pycore_dict.h" // export _PyDict_SizeOf()
|
||||
#include "pycore_freelist.h" // _PyFreeListState_GET()
|
||||
#include "pycore_gc.h" // _PyObject_GC_IS_TRACKED()
|
||||
#include "pycore_object.h" // _PyObject_GC_TRACK(), _PyDebugAllocatorStats()
|
||||
#include "pycore_bitutils.h" // _Py_bit_length
|
||||
#include "pycore_call.h" // _PyObject_CallNoArgs()
|
||||
#include "pycore_ceval.h" // _PyEval_GetBuiltin()
|
||||
#include "pycore_code.h" // stats
|
||||
#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION, Py_END_CRITICAL_SECTION
|
||||
#include "pycore_dict.h" // export _PyDict_SizeOf()
|
||||
#include "pycore_freelist.h" // _PyFreeListState_GET()
|
||||
#include "pycore_gc.h" // _PyObject_GC_IS_TRACKED()
|
||||
#include "pycore_object.h" // _PyObject_GC_TRACK(), _PyDebugAllocatorStats()
|
||||
#include "pycore_pyatomic_ft_wrappers.h" // FT_ATOMIC_LOAD_SSIZE_RELAXED
|
||||
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_setobject.h" // _PySet_NextEntry()
|
||||
#include "stringlib/eq.h" // unicode_eq()
|
||||
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_setobject.h" // _PySet_NextEntry()
|
||||
#include "pycore_unicodeobject.h" // _PyUnicode_InternImmortal()
|
||||
|
||||
#include "stringlib/eq.h" // unicode_eq()
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
/*[clinic input]
|
||||
class dict "PyDictObject *" "&PyDict_Type"
|
||||
[clinic start generated code]*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue