Skip to content

GH-94979: Pop the exception stack when jumping out of exception handlers. - #95003

Merged
markshannon merged 2 commits into
python:mainfrom
faster-cpython:pop-excepts-when-line-jumping
Jul 19, 2022
Merged

markshannon merged 2 commits into
python:mainfrom
faster-cpython:pop-excepts-when-line-jumping

Conversation

@markshannon

@markshannon markshannon commented Jul 19, 2022 •

Copy link
Copy Markdown
Member

Skipping news as there have been no releases between the introduction of the bug and the fix.

@markshannon markshannon added the needs backport to 3.11 only security fixes label Jul 19, 2022
@markshannon
markshannon requested a review from iritkatriel July 19, 2022 10:41
@markshannon markshannon added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 19, 2022
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @markshannon for commit bb9f9c8 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 19, 2022
Comment thread Objects/frameobject.c Outdated
@markshannon

Copy link
Copy Markdown
Member Author

1 buildbot seems to have stuck running test_concurrent_futures.

@iritkatriel iritkatriel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

FTR: this is getting crazy.

@markshannon

Copy link
Copy Markdown
Member Author

FTR: this is getting crazy.

I assume you mean the duplication of stack effect here, in the compiler and the interpreter.
That's why we want to build all three from a single declarative form, if we can.

@markshannon
markshannon merged commit 3f73860 into python:main Jul 19, 2022
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @markshannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @markshannon, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 3f738600f623b88bc90ec12587f75babb6f1025e 3.11

markshannon added a commit to faster-cpython/cpython that referenced this pull request Jul 19, 2022
@markshannon
markshannon deleted the pop-excepts-when-line-jumping branch July 19, 2022 16:44
@hugovk hugovk removed the needs backport to 3.11 only security fixes label Feb 20, 2025
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.

5 participants