gh-79940: add introspection API for asynchronous generators by tkren · Pull Request #11590 · python/cpython · GitHub

github.com

Tin mới

tkren:fix-issue-35759

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

inspect module does not implement introspection API for asynchronous generators #79940

View reviewed changes

awaiting core review

awaiting core review

inspect: add introspection API for asynchronous generators

bpo-46409: Make generators in bytecode #30633

View reviewed changes

inspect: use f-string in getasyncgenlocals()

inspect: use anext() built-in in TestGetAsyncGenState

View reviewed changes

whatsnew: add an entry for inspect

inspect: use IsolatedAsyncioTestCase for TestGetAsyncGenState

whatsnew: use bpo issue instead of github id

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot wasm32-emscripten node (dynamic linking) 3.x has failed when building commit ced13c9.

TestGetAsyncGenState requires working sockets

gh-79940: skip TestGetAsyncGenState on wasm as it requires working sockets #102605

TestGetAsyncGenState requires working sockets

TestGetAsyncGenState requires working sockets

TestGetAsyncGenState

: add introspection API for asynchronous generators to …

TestGetAsyncGenState

The explanation of ag_suspended should be added to Types and members #142996

[BUG] inspect.get*state() does not work for compiled objects on Python ≥3.11 cython/cython#7448