gh-79940: add introspection API for asynchronous generators by tkren · Pull Request #11590 · python/cpython
tkren
changed the title
bpo-35759: add introspection API for asynchronous generators
gh-79940: add introspection API for asynchronous generators
The functions inspect.getasyncgenstate and inspect.getasyncgenlocals allow to determine the current state of asynchronous generators and mirror the introspection API for generators and coroutines.
tkren
mannequin
mentioned this pull request
tkren added a commit to tkren/cpython that referenced this pull request
Skip `TestGetAsyncGenState` and restoring of the default event loop policy in `test_inspect` if platform lacks working socket support. Fixes python#11590
tkren
mentioned this pull request
tkren added a commit to tkren/cpython that referenced this pull request
Skip `TestGetAsyncGenState` and restoring of the default event loop policy in `test_inspect` if platform lacks working socket support. Fixes python#11590
tkren added a commit to tkren/cpython that referenced this pull request
Skip `TestGetAsyncGenState` and restoring of the default event loop policy in `test_inspect` if platform lacks working socket support. Fixes python#11590
miss-islington pushed a commit that referenced this pull request
iritkatriel pushed a commit to iritkatriel/cpython that referenced this pull request
…rking sockets (pythonGH-102605) Skip `TestGetAsyncGenState` and restoring of the default event loop policy in `test_inspect` if platform lacks working socket support. Fixes python#11590 Automerge-Triggered-By: GH:kumaraditya303