diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-19 08:05:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 08:05:52 -0700 |
commit | 7afccd34a659af6676c17abbd431e58093d25746 (patch) | |
tree | 24bd5c780dc660b2882019f28260d9bd1d8e8daf /Parser | |
parent | gh-91491: Complete Whats New in 3.11 for typing (GH-92708) (diff) | |
download | cpython-7afccd34a659af6676c17abbd431e58093d25746.tar.gz cpython-7afccd34a659af6676c17abbd431e58093d25746.tar.bz2 cpython-7afccd34a659af6676c17abbd431e58093d25746.zip |
gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)
(cherry picked from commit 137fd3d88aa46669f5717734e823f4c594ab2843)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/parser.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Parser/parser.c b/Parser/parser.c index adc8d509eb7..08bf6d29456 100644 --- a/Parser/parser.c +++ b/Parser/parser.c @@ -7,7 +7,11 @@ # define D(x) #endif -# define MAXSTACK 6000 +#ifdef __wasi__ +# define MAXSTACK 4000 +#else +# define MAXSTACK 6000 +#endif static const int n_keyword_lists = 9; static KeywordToken *reserved_keywords[] = { (KeywordToken[]) {{NULL, -1}}, |