-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-106905: avoid incorrect SystemError about recursion depth mismatch #106906
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
Note that in theory this should not be necessary as there is a I can only reproduce this issue rarely in a threaded application but let like matching the recursion depth changes is an easy way to make sure that the underlying issue can bubble up instead of hiding behind the recursion depth mismatch error. |
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.
LGTM.
Misc/NEWS.d/next/Core and Builtins/2023-07-20-11-41-16.gh-issue-106905.AyZpuB.rst
Outdated
Show resolved
Hide resolved
…e-106905.AyZpuB.rst
Thanks @mmohrhard for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @mmohrhard and @pablogsal, I could not cleanly backport this to
|
…smatch (pythonGH-106906) * pythongh-106905: avoid incorrect SystemError about recursion depth mismatch * Update Misc/NEWS.d/next/Core and Builtins/2023-07-20-11-41-16.gh-issue-106905.AyZpuB.rst --------- (cherry picked from commit 1447af7) Co-authored-by: Markus Mohrhard <[email protected]> Co-authored-by: Shantanu <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
GH-112032 is a backport of this pull request to the 3.12 branch. |
…epth mismatch (python#106906) Backport of 1447af7 from python#106906. * pythongh-106905: avoid incorrect SystemError about recursion depth mismatch * Update Misc/NEWS.d/next/Core and Builtins/2023-07-20-11-41-16.gh-issue-106905.AyZpuB.rst --------- Co-authored-by: Shantanu <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
GH-112849 is a backport of this pull request to the 3.11 branch. |
…smatch (python#106906) * pythongh-106905: avoid incorrect SystemError about recursion depth mismatch * Update Misc/NEWS.d/next/Core and Builtins/2023-07-20-11-41-16.gh-issue-106905.AyZpuB.rst --------- Co-authored-by: Shantanu <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…smatch (python#106906) * pythongh-106905: avoid incorrect SystemError about recursion depth mismatch * Update Misc/NEWS.d/next/Core and Builtins/2023-07-20-11-41-16.gh-issue-106905.AyZpuB.rst --------- Co-authored-by: Shantanu <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
I don't know if this fixes my original problem but it will at least remove one source of incorrect recursion depth mismatch errors.