Skip to content

Commit 64c94e7

Browse files
committed
Lower Py_C_RECURSION_LIMIT
1 parent ca91bd4 commit 64c94e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Include/cpython/pystate.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ struct _ts {
209209
# define Py_C_RECURSION_LIMIT 500
210210
#elif defined(__s390x__)
211211
# define Py_C_RECURSION_LIMIT 800
212+
#elif defined(_WIN32) && defined(_M_ARM64)
213+
# define Py_C_RECURSION_LIMIT 1000
212214
#elif defined(_WIN32)
213215
# define Py_C_RECURSION_LIMIT 3000
214216
#elif defined(_Py_ADDRESS_SANITIZER)

0 commit comments

Comments
 (0)