-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
base: main
Are you sure you want to change the base?
Conversation
Fidget-Spinner
commented
Apr 20, 2025
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Runaway recursion on 3.13 and higher for _PY_FRAME_GENERAL #132744
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