From: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Date: Sun, 27 Oct 2024 21:55:48 +0000 (+0100) Subject: gh-126035: add missing whitespace to *Py_EnterRecursiveCall() messages (#126036) X-Git-Tag: v3.14.0a2~278 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19e93e2e269889ecb3c4c039091abff489f247c2;p=thirdparty%2FPython%2Fcpython.git gh-126035: add missing whitespace to *Py_EnterRecursiveCall() messages (#126036) --- diff --git a/Modules/_bisectmodule.c b/Modules/_bisectmodule.c index 56322c48b7cd..9b146265445d 100644 --- a/Modules/_bisectmodule.c +++ b/Modules/_bisectmodule.c @@ -70,7 +70,7 @@ internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t if (sq_item == NULL) { return -1; } - if (Py_EnterRecursiveCall("in _bisect.bisect_right")) { + if (Py_EnterRecursiveCall(" in _bisect.bisect_right")) { return -1; } PyTypeObject *tp = Py_TYPE(item); @@ -254,7 +254,7 @@ internal_bisect_left(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t h if (sq_item == NULL) { return -1; } - if (Py_EnterRecursiveCall("in _bisect.bisect_left")) { + if (Py_EnterRecursiveCall(" in _bisect.bisect_left")) { return -1; } PyTypeObject *tp = Py_TYPE(item); diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c index d6a5b75a03d3..eae69e484e16 100644 --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -2425,7 +2425,7 @@ PyCSimpleType_from_param_impl(PyObject *type, PyTypeObject *cls, return NULL; } if (as_parameter) { - if (_Py_EnterRecursiveCall("while processing _as_parameter_")) { + if (_Py_EnterRecursiveCall(" while processing _as_parameter_")) { Py_DECREF(as_parameter); Py_XDECREF(exc); return NULL;