We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d76b48 commit 415906cCopy full SHA for 415906c
Python/ceval.c
@@ -342,7 +342,7 @@ _Py_EnterRecursiveCallUnchecked(PyThreadState *tstate)
342
#elif defined(__hppa__) || defined(__powerpc64__)
343
# define Py_C_STACK_SIZE 2000000
344
#else
345
-# define Py_C_STACK_SIZE 5000000
+# define Py_C_STACK_SIZE 4000000
346
#endif
347
348
void
@@ -359,7 +359,7 @@ _Py_InitializeRecursionLimits(PyThreadState *tstate)
359
_tstate->c_stack_soft_limit = _tstate->c_stack_hard_limit + PYOS_STACK_MARGIN_BYTES;
360
361
uintptr_t here_addr = _Py_get_machine_stack_pointer();
362
-# if defined(HAVE_PTHREAD_GETATTR_NP)
+# if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX)
363
size_t stack_size, guard_size;
364
void *stack_addr;
365
pthread_attr_t attr;
0 commit comments