https://github.com/python/cpython/commit/41fde89e471003b3e70fdd76d6726fba9982a1eb
commit: 41fde89e471003b3e70fdd76d6726fba9982a1eb
branch: main
author: Mark Shannon <[email protected]>
committer: markshannon <[email protected]>
date: 2024-02-02T10:41:28Z
summary:

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

files:
M Include/cpython/pystate.h

diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h
index 1dbf97660f382f..9bc8758e72bd8f 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to