We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 158401a commit c1eb229Copy full SHA for c1eb229
Python/ceval.c
@@ -332,7 +332,8 @@ _Py_EnterRecursiveCallUnchecked(PyThreadState *tstate)
332
// test_descr crashed on sparc64 with >7000 but let's keep a margin of error.
333
# define Py_C_STACK_SIZE 1600000
334
#elif defined(__wasi__)
335
-# define Py_C_STACK_SIZE 1000000
+ /* Web assembly has two stacks, so this isn't really the stack depth */
336
+# define Py_C_STACK_SIZE 100000
337
#elif defined(__hppa__) || defined(__powerpc64__)
338
// test_descr crashed with >8000 but let's keep a margin of error.
339
# define Py_C_STACK_SIZE 2000000
0 commit comments