File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -2077,10 +2077,7 @@ def fib(n):
20772077 return n
20782078 return fib (n - 1 ) + fib (n - 2 )
20792079
2080- try :
2081- fib (100 )
2082- except RecursionError :
2083- fib (50 )
2080+ fib (100 )
20842081 if self .module == c_functools :
20852082 fib .cache_clear ()
20862083 with support .infinite_recursion ():
Original file line number Diff line number Diff line change @@ -332,8 +332,7 @@ _Py_EnterRecursiveCallUnchecked(PyThreadState *tstate)
332332 // test_descr crashed on sparc64 with >7000 but let's keep a margin of error.
333333# define Py_C_STACK_SIZE 1600000
334334#elif defined(__wasi__ )
335- // Based on wasmtime 16.
336- # define Py_C_STACK_SIZE 2000000
335+ # define Py_C_STACK_SIZE 1000000
337336#elif defined(__hppa__ ) || defined(__powerpc64__ )
338337 // test_descr crashed with >8000 but let's keep a margin of error.
339338# define Py_C_STACK_SIZE 2000000
You can’t perform that action at this time.
0 commit comments