summaryrefslogtreecommitdiffstats
path: root/Include/ceval.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-06-13 20:41:23 (GMT)
committerGitHub <noreply@github.com>2019-06-13 20:41:23 (GMT)
commit838f26402de82640698c38ea9d2be65c6cf780d6 (patch)
treeb5dfe2fa1c398c93291833fbd7beea911613a4b1 /Include/ceval.h
parent3498c642f4e83f3d8e2214654c0fa8e0d51cebe5 (diff)
downloadcpython-838f26402de82640698c38ea9d2be65c6cf780d6.zip
cpython-838f26402de82640698c38ea9d2be65c6cf780d6.tar.gz
cpython-838f26402de82640698c38ea9d2be65c6cf780d6.tar.bz2
bpo-36710: Pass explicitly tstate in sysmodule.c (GH-14060)
* Replace global var Py_VerboseFlag with interp->config.verbose. * Add _PyErr_NoMemory(tstate) function. * Add tstate parameter to _PyEval_SetCoroutineOriginTrackingDepth() and move the function to the internal API. * Replace _PySys_InitMain(runtime, interp) with _PySys_InitMain(runtime, tstate).
Diffstat (limited to 'Include/ceval.h')
-rw-r--r--Include/ceval.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 36fd014..e78194d 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -31,7 +31,6 @@ PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj,
#ifndef Py_LIMITED_API
PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
-PyAPI_FUNC(void) _PyEval_SetCoroutineOriginTrackingDepth(int new_depth);
PyAPI_FUNC(int) _PyEval_GetCoroutineOriginTrackingDepth(void);
PyAPI_FUNC(void) _PyEval_SetAsyncGenFirstiter(PyObject *);
PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFirstiter(void);