diff --git a/Misc/NEWS b/Misc/NEWS --- a/Misc/NEWS +++ b/Misc/NEWS @@ -11,6 +11,9 @@ What's New in Python 2.6 alpha 1? Core and builtins ----------------- + +- Issue #1881: An internal parser limit has been increased. Also see + issue 215555 for a discussion. - Issue #1679: "0x" was taken as a valid integer literal. diff --git a/Parser/parser.h b/Parser/parser.h --- a/Parser/parser.h +++ b/Parser/parser.h @@ -7,7 +7,7 @@ extern "C" { /* Parser interface */ -#define MAXSTACK 500 +#define MAXSTACK 5000 typedef struct { int s_state; /* State in current DFA */