]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-126035: add missing whitespace to *Py_EnterRecursiveCall() messages (#126036)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sun, 27 Oct 2024 21:55:48 +0000 (22:55 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Oct 2024 21:55:48 +0000 (22:55 +0100)
Modules/_bisectmodule.c
Modules/_ctypes/_ctypes.c

index 56322c48b7cd354cdd035f0762c842aa44b6f870..9b146265445d9abffc6da681dce94fb4e487d71d 100644 (file)
@@ -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);
index d6a5b75a03d3fe0ae409ce7d97a84135f405d6b1..eae69e484e16601d8ec9a7ba90005de5227f6186 100644 (file)
@@ -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;