aports/main/python3/s390x-c-stack-size.patch

16 lines
398 B
Diff

https://github.com/python/cpython/issues/139467
diff --git a/Python/ceval.c b/Python/ceval.c
index e5b1b82e45e..fe8c4a7d092 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -352,7 +352,7 @@ _Py_EnterRecursiveCallUnchecked(PyThreadState *tstate)
}
}
-#if defined(__s390x__)
+#if 0
# define Py_C_STACK_SIZE 320000
#elif defined(_WIN32)
// Don't define Py_C_STACK_SIZE, ask the O/S