mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
GH-111807: Lower the parser stack depth under WASI debug builds (#112225)
This commit is contained in:
parent
ce1096f974
commit
56e59a49ae
3 changed files with 11 additions and 2 deletions
6
Parser/parser.c
generated
6
Parser/parser.c
generated
|
@ -8,7 +8,11 @@
|
|||
#endif
|
||||
|
||||
#ifdef __wasi__
|
||||
# define MAXSTACK 4000
|
||||
# ifdef Py_DEBUG
|
||||
# define MAXSTACK 1000
|
||||
# else
|
||||
# define MAXSTACK 4000
|
||||
# endif
|
||||
#else
|
||||
# define MAXSTACK 6000
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue