summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-02-28 22:41:09 (GMT)
committerGitHub <noreply@github.com>2021-02-28 22:41:09 (GMT)
commitaf5fa13ef6f648fc7a7a33a7556db13887e7d643 (patch)
treefaa0ffb9e99a6ae822b9c464a7cb044a8dc8e94f /Include/cpython
parente8f5ddd33e44dae4e0121f87a7bf92d754807e49 (diff)
downloadcpython-af5fa13ef6f648fc7a7a33a7556db13887e7d643.zip
cpython-af5fa13ef6f648fc7a7a33a7556db13887e7d643.tar.gz
cpython-af5fa13ef6f648fc7a7a33a7556db13887e7d643.tar.bz2
bpo-37146: Deactivate opcode cache only when using huntrleaks in the test suite (GH-24643)
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/ceval.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h
index 0633892..05dcfac 100644
--- a/Include/cpython/ceval.h
+++ b/Include/cpython/ceval.h
@@ -28,3 +28,5 @@ 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);