diff options
| author | Mark Shannon <mark@hotpy.org> | 2024-02-02 10:41:28 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-02 10:41:28 (GMT) |
| commit | 41fde89e471003b3e70fdd76d6726fba9982a1eb (patch) | |
| tree | 49880940fccdecbcf48e5b33f4189ac16c628d7d | |
| parent | d25d4ee60cc789a8b9c222859bb720ade1ab2e30 (diff) | |
| download | cpython-41fde89e471003b3e70fdd76d6726fba9982a1eb.zip cpython-41fde89e471003b3e70fdd76d6726fba9982a1eb.tar.gz cpython-41fde89e471003b3e70fdd76d6726fba9982a1eb.tar.bz2 | |
GH-113655 Lower C recursion limit from 4000 to 3000 on Windows. (GH-114896)
| -rw-r--r-- | Include/cpython/pystate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h index 1dbf976..9bc8758 100644 --- a/Include/cpython/pystate.h +++ b/Include/cpython/pystate.h @@ -229,7 +229,7 @@ struct _ts { #elif defined(__s390x__) # define Py_C_RECURSION_LIMIT 800 #elif defined(_WIN32) -# define Py_C_RECURSION_LIMIT 4000 +# define Py_C_RECURSION_LIMIT 3000 #elif defined(_Py_ADDRESS_SANITIZER) # define Py_C_RECURSION_LIMIT 4000 #else |
