This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aroberge
Recipients Arfrever, Trundle, aroberge, benjamin.peterson, eric.snow, georg.brandl, iritkatriel, loewis, marienz, ncoghlan, orsenthil, pablogsal, pitrou, r.david.murray, terry.reedy
Date 2021-07-08.09:45:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625737522.02.0.470129393791.issue11343@roundup.psfhosted.org>
In-reply-to
Content
For information: I created an actual .py file from the last example with 200 parens and got the following error message:

> python example.py
s_push: parser stack overflow
MemoryError

For consistency and greater clarity, I think that having messages such as

- SyntaxError: parser stack overflow (too many nested parenthesis)
- SyntaxError: parser stack overflow (too many statistically nested blocks)

and possibly others (too many arguments?), would be preferable, with
the possibility of simply having

- SyntaxError: parser stack overflow

if the exact cause cannot be identified at the parsing stage.
History
Date User Action Args
2021-07-08 09:45:22arobergesetrecipients: + aroberge, loewis, georg.brandl, terry.reedy, ncoghlan, orsenthil, marienz, pitrou, benjamin.peterson, Arfrever, r.david.murray, Trundle, eric.snow, pablogsal, iritkatriel
2021-07-08 09:45:22arobergesetmessageid: <1625737522.02.0.470129393791.issue11343@roundup.psfhosted.org>
2021-07-08 09:45:22arobergelinkissue11343 messages
2021-07-08 09:45:21arobergecreate