-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-132744: Check recursion limit in _PY_FRAME_GENERAL #132746
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
Would it be better to add the |
Done. |
Actually, those two instructions don't need to check stack space (they use the frame push that can fail, instead of the one that pushes without checks), they only need to check recursion remaining. So I split it into another uop to make things more efficient. |
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
Thanks @Fidget-Spinner for the PR, and @markshannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @Fidget-Spinner and @markshannon, I could not cleanly backport this to
|
Uh oh!
There was an error while loading. Please reload this page.