]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyEval function (#108433)
authorVictor Stinner <vstinner@python.org>
Thu, 24 Aug 2023 18:25:22 +0000 (20:25 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2023 18:25:22 +0000 (20:25 +0200)
commitc494fb333b57bdf43fc90189fc29a00c293b2987
treea5d6ade6fcadaffadce8f400d079f615f5d0ad76
parent995f4c48e11349fbfb9233e02b732d4534d3008e
gh-106320: Remove private _PyEval function (#108433)

Move private _PyEval functions to the internal C API
(pycore_ceval.h):

* _PyEval_GetBuiltin()
* _PyEval_GetBuiltinId()
* _PyEval_GetSwitchInterval()
* _PyEval_MakePendingCalls()
* _PyEval_SetProfile()
* _PyEval_SetSwitchInterval()
* _PyEval_SetTrace()

No longer export most of these functions.
19 files changed:
Include/cpython/ceval.h
Include/internal/pycore_ceval.h
Modules/_lsprof.c
Modules/_queuemodule.c
Modules/_threadmodule.c
Modules/arraymodule.c
Modules/itertoolsmodule.c
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/classobject.c
Objects/dictobject.c
Objects/genericaliasobject.c
Objects/iterobject.c
Objects/listobject.c
Objects/odictobject.c
Objects/rangeobject.c
Objects/setobject.c
Objects/tupleobject.c
Objects/unicodeobject.c