[Python-checkins] bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API (GH-24786)

vstinner webhook-mailer at python.org
Mon Mar 8 16:56:42 EST 2021


https://github.com/python/cpython/commit/9f672a52f55ce198d5689b5771948350028b4a3b
commit: 9f672a52f55ce198d5689b5771948350028b4a3b
branch: master
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2021-03-08T22:56:37+01:00
summary:

bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API (GH-24786)

Don't export the symbol anymore.

files:
M Include/cpython/ceval.h
M Include/internal/pycore_ceval.h

diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h
index 05dcfac2ed634..06338928f6738 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 f07959da770d9..f573c3e508680 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() ----------------------------------------- */
 



More information about the Python-checkins mailing list