From ea32eee56e47a049dc3ffb275c56fa7dbee488bf Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 8 Mar 2021 21:03:10 +0100 Subject: [PATCH] bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API Don't export the symbol anymore. --- Include/cpython/ceval.h | 2 -- Include/internal/pycore_ceval.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h index 05dcfac2ed6346..06338928f6738b 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 f07959da770d96..f573c3e5086807 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() ----------------------------------------- */