Skip to content

Commit 41fde89

Browse files
authored
GH-113655 Lower C recursion limit from 4000 to 3000 on Windows. (GH-114896)
1 parent d25d4ee commit 41fde89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/cpython/pystate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ struct _ts {
229229
#elif defined(__s390x__)
230230
# define Py_C_RECURSION_LIMIT 800
231231
#elif defined(_WIN32)
232-
# define Py_C_RECURSION_LIMIT 4000
232+
# define Py_C_RECURSION_LIMIT 3000
233233
#elif defined(_Py_ADDRESS_SANITIZER)
234234
# define Py_C_RECURSION_LIMIT 4000
235235
#else

0 commit comments

Comments
 (0)