gh-106905: avoid incorrect SystemError about recursion depth mismatch#106906
gh-106905: avoid incorrect SystemError about recursion depth mismatch#106906pablogsal merged 4 commits intopython:mainfrom
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. |
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 <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 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 <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
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 <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>
I don't know if this fixes my original problem but it will at least remove one source of incorrect recursion depth mismatch errors.