-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-126035: add missing whitespace to *Py_EnterRecursiveCall
messages
#126036
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
gh-126035: add missing whitespace to *Py_EnterRecursiveCall
messages
#126036
Conversation
The way to test it would be to just trigger the recursion error and then catch it with an |
Yes, that's what I wanted to find :') (I was a bit lazy here TBH).
I don't really want to. At least, it doesn't hurt to always add it. We could implicitly add the whitespace by using |
*Py_EnterRecursiveCall*
usages*Py_EnterRecursiveCall
messages
*Py_EnterRecursiveCall
messages*Py_EnterRecursiveCall
messages
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.
I wasn't actually able to trigger the RecursionError
in either of these cases--the "while calling a Python object" beat it, so this might be dead code anyway. LGTM!
This comment was marked as outdated.
This comment was marked as outdated.
…essages (pythonGH-126036) (cherry picked from commit 19e93e2) Co-authored-by: Bénédikt Tran <[email protected]>
…essages (pythonGH-126036) (cherry picked from commit 19e93e2) Co-authored-by: Bénédikt Tran <[email protected]>
GH-126058 is a backport of this pull request to the 3.13 branch. |
GH-126059 is a backport of this pull request to the 3.12 branch. |
…messages (GH-126036) (#126059) (cherry picked from commit 19e93e2) Co-authored-by: Bénédikt Tran <[email protected]>
…messages (GH-126036) (#126058) (cherry picked from commit 19e93e2) Co-authored-by: Bénédikt Tran <[email protected]>
I don't know how to test it easily though so if anyone knows, feel free to help me! (or we can just observe that all other occurrences are prefixing the message with a whitespace and be done).
Py_CheckRecursiveCall
& co #126035