Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
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 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
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 OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
…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 commit1447af7)Co-authored-by: Markus Mohrhard <markusm@dug.com>Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-112032 is a backport of this pull request to the3.12 branch. |
…epth mismatch (python#106906)Backport of1447af7 frompython#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 <12621235+hauntsaninja@users.noreply.github.com>Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-112849 is a backport of this pull request to the3.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 <12621235+hauntsaninja@users.noreply.github.com>Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…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 <12621235+hauntsaninja@users.noreply.github.com>Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
I don't know if this fixes my original problem but it will at least remove one source of incorrect recursion depth mismatch errors.