Skip to content

gh-128955: Fix goto if tlbc creation fails when throwing into a generator #128957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

mpage
Copy link
Contributor

@mpage mpage commented Jan 17, 2025

We don't have the correct copy of the bytecode and can't update next_instr appropriately, so just unwind.

…ator

We don't have the correct copy of the bytecode and can't update next_instr
appropriately, so just unwind.
@mpage mpage changed the title Jump to exit_unwind if tlbc creation fails when throwing into a generator gh-128955: Jump to exit_unwind if tlbc creation fails when throwing into a generator Jan 17, 2025
@mpage mpage changed the title gh-128955: Jump to exit_unwind if tlbc creation fails when throwing into a generator gh-128955: Fix goto if tlbc creation fails when throwing into a generator Jan 17, 2025
@mpage mpage requested a review from colesbury January 17, 2025 20:40
@mpage mpage marked this pull request as ready for review January 17, 2025 20:40
@mpage mpage requested a review from markshannon as a code owner January 17, 2025 20:40
@mpage mpage merged commit 13c4def into python:main Jan 17, 2025
47 checks passed
@mpage mpage deleted the gh-128955-fix-goto branch January 17, 2025 20:53
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 21, 2025
… generator (python#128957)

We don't have the correct copy of the bytecode and can't update next_instr
appropriately, so just unwind.
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