From: Victor Stinner Date: Mon, 8 Mar 2021 21:56:37 +0000 (+0100) Subject: bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API (GH-24786) X-Git-Tag: v3.10.0a7~182 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f672a52f55ce198d5689b5771948350028b4a3b;p=thirdparty%2FPython%2Fcpython.git bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API (GH-24786) Don't export the symbol anymore. --- diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h index 05dcfac2ed63..06338928f673 100644 --- a/Include/cpython/ceval.h +++ b/Include/cpython/ceval.h @@ -28,5 +28,3 @@ PyAPI_FUNC(Py_ssize_t) _PyEval_RequestCodeExtraIndex(freefunc); PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *); PyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *); - -PyAPI_FUNC(void) _PyEval_DeactivateOpCache(void); diff --git a/Include/internal/pycore_ceval.h b/Include/internal/pycore_ceval.h index f07959da770d..f573c3e50868 100644 --- a/Include/internal/pycore_ceval.h +++ b/Include/internal/pycore_ceval.h @@ -62,6 +62,8 @@ extern void _PyEval_FiniGIL(PyInterpreterState *interp); extern void _PyEval_ReleaseLock(PyThreadState *tstate); +extern void _PyEval_DeactivateOpCache(void); + /* --- _Py_EnterRecursiveCall() ----------------------------------------- */