Skip to content

Conversation

@hyongtao-code
Copy link
Contributor

Fixed a typo in asyncio call graph introspection. When handling objects with ag_await, the code incorrectly accesses cr_frame. Async generators expose their frame via ag_frame.
But this code path seems effectively unreachable in normal asyncio execution; the change only corrects an attribute typo.

Fix a typo in asyncio call graph introspection.
When handling objects with `ag_await`, the code incorrectly accesses
`cr_frame`. Async generators expose their frame via `ag_frame`.
This path seems effectively unreachable in normal asyncio execution;
the change only corrects an attribute typo.

Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
@hyongtao-code hyongtao-code changed the title asyncio: fix ag_frame/cr_frame typo in call graph Fix ag_frame/cr_frame typo in asyncio call graph Jan 20, 2026
Copy link
Contributor

@kumaraditya303 kumaraditya303 left a comment

Choose a reason for hiding this comment

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

Please create an issue as this is an actual bug and add tests.

@bedevere-app
Copy link

bedevere-app bot commented Jan 20, 2026

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants