Skip to content

Commit

Permalink
pythonGH-113655 Lower C recursion limit from 4000 to 3000 on Windows. (
Browse files Browse the repository at this point in the history
  • Loading branch information
markshannon authored and fsc-eriker committed Feb 14, 2024
1 parent 7f2daa2 commit f2b2d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/cpython/pystate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2b2d79

Please sign in to comment.