You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Async generators expose ag_frame, not cr_frame, so this raises AttributeError whenever the walk reaches it. The standard async for path routes through async_generator_asend objects which have neither attribute, so the walker hits the else: break first — which is why the test suite doesn't catch it. A coroutine whose cr_await chains directly to an async-generator-shaped object (duck-typed or manually driven) trips the bug.
Activity
pythongh-148736: Use ag_frame when walking async generators in asynci…
pythongh-148736: Use ag_frame when walking async generators in asynci…
gh-148736: Use ag_frame when walking async generators in asyncio.graph (
pythongh-148736: Use ag_frame when walking async generators in asynci…