diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-22 15:04:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 15:04:34 (GMT) |
commit | 5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975 (patch) | |
tree | 288d255165674d6464a2739cf5254cc83561d9c5 /Python/ceval.c | |
parent | c92ef6fe0e1384c090b94143cdc01e5e114a8747 (diff) | |
download | cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.zip cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.tar.gz cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.tar.bz2 |
gh-106320: Move private _PySet API to the internal API (#107041)
* Add pycore_setobject.h header file.
* Move the following API to the internal C API:
* _PySet_Dummy
* _PySet_NextEntry()
* _PySet_Update()
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 9f2855f..e9f082f 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -7,24 +7,25 @@ #include "pycore_call.h" // _PyObject_CallNoArgs() #include "pycore_ceval.h" // _PyEval_SignalAsyncExc() #include "pycore_code.h" +#include "pycore_emscripten_signal.h" // _Py_CHECK_EMSCRIPTEN_SIGNALS #include "pycore_function.h" +#include "pycore_instruments.h" #include "pycore_intrinsics.h" #include "pycore_long.h" // _PyLong_GetZero() -#include "pycore_instruments.h" -#include "pycore_object.h" // _PyObject_GC_TRACK() #include "pycore_moduleobject.h" // PyModuleObject +#include "pycore_object.h" // _PyObject_GC_TRACK() #include "pycore_opcode.h" // EXTRA_CASES #include "pycore_opcode_metadata.h" #include "pycore_opcode_utils.h" // MAKE_FUNCTION_* #include "pycore_pyerrors.h" // _PyErr_GetRaisedException() #include "pycore_pystate.h" // _PyInterpreterState_GET() #include "pycore_range.h" // _PyRangeIterObject +#include "pycore_setobject.h" // _PySet_Update() #include "pycore_sliceobject.h" // _PyBuildSlice_ConsumeRefs #include "pycore_sysmodule.h" // _PySys_Audit() #include "pycore_tuple.h" // _PyTuple_ITEMS() #include "pycore_typeobject.h" // _PySuper_Lookup() #include "pycore_uops.h" // _PyUOpExecutorObject -#include "pycore_emscripten_signal.h" // _Py_CHECK_EMSCRIPTEN_SIGNALS #include "pycore_dict.h" #include "dictobject.h" |