Skip to content

Commit 3f3ec46

Browse files
committed
Lower C recursion limit for s390 back to 1000.
1 parent 82acac8 commit 3f3ec46

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 1200
227+
# define Py_C_RECURSION_LIMIT 1000
228228
#elif defined(_WIN32)
229229
# define Py_C_RECURSION_LIMIT 4000
230230
#elif defined(_Py_ADDRESS_SANITIZER)

0 commit comments

Comments
 (0)