-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Missing whitespaces when using Py_CheckRecursiveCall
& co
#126035
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
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
extension-modules
C modules in the Modules dir
type-bug
An unexpected behavior, bug, or error
Comments
erlend-aasland
pushed a commit
that referenced
this issue
Oct 27, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 27, 2024
…essages (pythonGH-126036) (cherry picked from commit 19e93e2) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 27, 2024
…essages (pythonGH-126036) (cherry picked from commit 19e93e2) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
erlend-aasland
pushed a commit
that referenced
this issue
Oct 27, 2024
erlend-aasland
pushed a commit
that referenced
this issue
Oct 27, 2024
Closing since completed and backported. |
picnixz
added a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
extension-modules
C modules in the Modules dir
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
The message must be prefixed by a whitespace since
_Py_CheckRecursiveCall
directly appends them to "maximum recursion depth exceeded":cpython/Python/ceval.c
Lines 329 to 335 in dc76a4a
Alternatively, we could make it so that a whitespace is automatically added and strip leading whitespaces if the "where" is the empty string (we wouldn't strip whitespaces in custom messages though I think).
For now, I'll just add the missing whitespaces where it should be.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
*Py_EnterRecursiveCall
messages #126036The text was updated successfully, but these errors were encountered: