From 2a132d7b34116cfe66993db1af786d15ab803b3a Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Thu, 2 Apr 2026 10:45:28 +0100 Subject: [PATCH] Increase default stack size for linux platforms without working HAVE_PTHREAD_GETATTR_NP Change-Id: I861a3039816c368e6a8823a70f75c2119e417c7f --- Python/ceval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/ceval.c b/Python/ceval.c index d4bc45f9c9130e..0d4364610532e3 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -60,7 +60,7 @@ _Py_ReachedRecursionLimitWithMargin(PyThreadState *tstate, int margin_count) #elif defined(__hppa__) || defined(__powerpc64__) # define Py_C_STACK_SIZE 2000000 #else -# define Py_C_STACK_SIZE 4000000 +# define Py_C_STACK_SIZE 5000000 #endif #if defined(__EMSCRIPTEN__)