-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-94438: Add additional cases to mark_stacks with tests #111237
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
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
cc: @brandtbucher |
(Note to self that the 3.11 backport will probably need to be manual.) |
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a ton for this! This is some really tricky code.
Just a couple of comments on the tests:
Misc/NEWS.d/next/Core and Builtins/2023-10-23-22-11-09.gh-issue-94438.y2pITu.rst
Outdated
Show resolved
Hide resolved
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 And if you don't make the requested changes, you will be put in the comfy chair! |
6405fe0
to
33fd711
Compare
Co-authored-by: Brandt Bucher <[email protected]>
Sorry, one last thing... can you add yourself to |
Thanks @savannahostrowski for the PR, and @brandtbucher for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @savannahostrowski and @brandtbucher, I could not cleanly backport this to
|
) (cherry picked from commit 6640f1d) Co-authored-by: Savannah Ostrowski <[email protected]>
GH-111243 is a backport of this pull request to the 3.12 branch. |
Congrats @savannahostrowski for the successful contribution. 🎉 |
GH-111338 is a backport of this pull request to the 3.11 branch. |
After reading through #94438, it appeared that there were still outstanding issues with mark_stacks as there was no case that checking for POP_JUMP_IF_NONE and POP_JUMP_IF_NOT_NONE, which could break pdb's jump in 3.11 or higher. This adds these case to the switch statement plus a couple of tests.