Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
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
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.
Would it be better to add the |
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. |
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
|
Uh oh!
There was an error while loading.Please reload this page.