summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2019-05-28 07:10:59 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-28 07:10:59 (GMT)
commit3880f263d2994fb1eba25835dddccb0cf696fdf0 (patch)
tree0c40e3b7cab9b3aa59600cec290548709d7c7dc4 /Include
parent436c2b0d67da68465e709a96daac7340af3a5238 (diff)
downloadcpython-3880f263d2994fb1eba25835dddccb0cf696fdf0.zip
cpython-3880f263d2994fb1eba25835dddccb0cf696fdf0.tar.gz
cpython-3880f263d2994fb1eba25835dddccb0cf696fdf0.tar.bz2
bpo-36933: Remove sys.set_coroutine_wrapper (marked for removal in 3.8) (GH-13577)
It has been documented as deprecated and to be removed in 3.8; From a comment on another thread – which I can't find ; leave get_coro_wrapper() for now, but always return `None`. https://bugs.python.org/issue36933
Diffstat (limited to 'Include')
-rw-r--r--Include/ceval.h2
-rw-r--r--Include/cpython/pystate.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 8cdf353..6fb224b 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -33,8 +33,6 @@ 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_SetCoroutineWrapper(PyObject *);
-PyAPI_FUNC(PyObject *) _PyEval_GetCoroutineWrapper(void);
PyAPI_FUNC(void) _PyEval_SetAsyncGenFirstiter(PyObject *);
PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFirstiter(void);
PyAPI_FUNC(void) _PyEval_SetAsyncGenFinalizer(PyObject *);
diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h
index 6b7663f..94b0809 100644
--- a/Include/cpython/pystate.h
+++ b/Include/cpython/pystate.h
@@ -126,9 +126,6 @@ struct _ts {
int coroutine_origin_tracking_depth;
- PyObject *coroutine_wrapper;
- int in_coroutine_wrapper;
-
PyObject *async_gen_firstiter;
PyObject *async_gen_finalizer;