Skip to content

Conversation

@savannahostrowski
Copy link
Member

@savannahostrowski savannahostrowski commented Nov 6, 2025

So after spelunking here it appears that the issue here is that we can't clear frame->previous after _PyFrame_ClearExceptCode in clear_gen_frame because _PyFrame_ClearExceptCode calls take_ownership which copies the frame with a stale previous pointer. This makes f_back point to the caller, instead of None.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant