diff options
author | Victor Stinner <vstinner@python.org> | 2022-03-21 00:15:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 00:15:32 (GMT) |
commit | 332b04bac35cd7305c60da2d5733940dc089949a (patch) | |
tree | a546b206bbbda8fe576e1b25ec2c609e20d1faf9 /Include/cpython | |
parent | 9d1c4d69dbc800ac344565119337fcf490cdc800 (diff) | |
download | cpython-332b04bac35cd7305c60da2d5733940dc089949a.zip cpython-332b04bac35cd7305c60da2d5733940dc089949a.tar.gz cpython-332b04bac35cd7305c60da2d5733940dc089949a.tar.bz2 |
bpo-46850: Remove _PyEval_SetAsyncGenFinalizer() (GH-32017)
Remove the following private undocumented functions from the C API:
* _PyEval_GetAsyncGenFirstiter()
* _PyEval_GetAsyncGenFinalizer()
* _PyEval_SetAsyncGenFirstiter()
* _PyEval_SetAsyncGenFinalizer()
Call the public sys.get_asyncgen_hooks() and sys.set_asyncgen_hooks()
functions instead.
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/ceval.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h index 5a904bd..47c86f9 100644 --- a/Include/cpython/ceval.h +++ b/Include/cpython/ceval.h @@ -9,10 +9,6 @@ PyAPI_DATA(int) _PyEval_SetProfile(PyThreadState *tstate, Py_tracefunc func, PyO PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *); PyAPI_FUNC(int) _PyEval_SetTrace(PyThreadState *tstate, Py_tracefunc func, PyObject *arg); PyAPI_FUNC(int) _PyEval_GetCoroutineOriginTrackingDepth(void); -PyAPI_FUNC(int) _PyEval_SetAsyncGenFirstiter(PyObject *); -PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFirstiter(void); -PyAPI_FUNC(int) _PyEval_SetAsyncGenFinalizer(PyObject *); -PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFinalizer(void); /* Helper to look up a builtin object */ PyAPI_FUNC(PyObject *) _PyEval_GetBuiltin(PyObject *); |