GH-113655 Lower C recursion limit from 4000 to 3000 on Windows. (GH-114896)

This commit is contained in:
Mark Shannon 2024-02-02 10:41:28 +00:00 committed by GitHub
parent d25d4ee60c
commit 41fde89e47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -229,7 +229,7 @@ struct _ts {
#elif defined(__s390x__) #elif defined(__s390x__)
# define Py_C_RECURSION_LIMIT 800 # define Py_C_RECURSION_LIMIT 800
#elif defined(_WIN32) #elif defined(_WIN32)
# define Py_C_RECURSION_LIMIT 4000 # define Py_C_RECURSION_LIMIT 3000
#elif defined(_Py_ADDRESS_SANITIZER) #elif defined(_Py_ADDRESS_SANITIZER)
# define Py_C_RECURSION_LIMIT 4000 # define Py_C_RECURSION_LIMIT 4000
#else #else