Closed
Description
Bug report
Bug description:
The message must be prefixed by a whitespace since _Py_CheckRecursiveCall
directly appends them to "maximum recursion depth exceeded":
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