Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
python-cla-botbot commentedApr 20, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
markshannon commentedApr 29, 2025
Would it be better to add the |
Fidget-Spinner commentedApr 29, 2025
Done. |
Fidget-Spinner commentedApr 29, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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. |
markshannon left a comment
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
ddac7ac intopython:mainUh oh!
There was an error while loading.Please reload this page.
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 |
serhiy-storchaka commentedAug 14, 2025
Reminder about backporting.@Fidget-Spinner@markshannon |
GH-138032 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.