bpo-46850: Remove _PyEval_SetAsyncGenFinalizer() by vstinner · Pull Request #32017 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Conversation
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.
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.
This PR has no impact on the top 5000 PyPI projects:
$ ./search_pypi_top.py PYPI-2022-01-26-TOP-5000/ '_PyEval_[GS]etAsync' -q
Found 0 matching lines in 0 projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters