diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-24 18:25:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 18:25:22 (GMT) |
commit | c494fb333b57bdf43fc90189fc29a00c293b2987 (patch) | |
tree | a5d6ade6fcadaffadce8f400d079f615f5d0ad76 /Objects/unicodeobject.c | |
parent | 995f4c48e11349fbfb9233e02b732d4534d3008e (diff) | |
download | cpython-c494fb333b57bdf43fc90189fc29a00c293b2987.zip cpython-c494fb333b57bdf43fc90189fc29a00c293b2987.tar.gz cpython-c494fb333b57bdf43fc90189fc29a00c293b2987.tar.bz2 |
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.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index c6876d4..6bbc2af 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -43,6 +43,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "pycore_atomic_funcs.h" // _Py_atomic_size_get() #include "pycore_bytes_methods.h" // _Py_bytes_lower() #include "pycore_bytesobject.h" // _PyBytes_Repeat() +#include "pycore_ceval.h" // _PyEval_GetBuiltin() #include "pycore_codecs.h" // _PyCodec_Lookup() #include "pycore_format.h" // F_LJUST #include "pycore_initconfig.h" // _PyStatus_OK() @@ -56,6 +57,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "pycore_ucnhash.h" // _PyUnicode_Name_CAPI #include "pycore_unicodeobject.h" // struct _Py_unicode_state #include "pycore_unicodeobject_generated.h" // _PyUnicode_InitStaticStrings() + #include "stringlib/eq.h" // unicode_eq() #include <stddef.h> // ptrdiff_t |