Skip to content

Commit 1c3e63a

Browse files
committed
Further lower C recursion limit for s390x
1 parent adae6cf commit 1c3e63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/cpython/pystate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ struct _ts {
224224
// recursions, sometimes less. 500 is a more conservative limit.
225225
# define Py_C_RECURSION_LIMIT 500
226226
#elif defined(__s390x__)
227-
# define Py_C_RECURSION_LIMIT 1000
227+
# define Py_C_RECURSION_LIMIT 800
228228
#elif defined(_WIN32)
229229
# define Py_C_RECURSION_LIMIT 4000
230230
#elif defined(_Py_ADDRESS_SANITIZER)

0 commit comments

Comments
 (0)