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 Feb 2, 2024
1 parent d25d4ee commit 41fde89
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 41fde89

Please sign in to comment.