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 BTaskaya
Recipients BTaskaya, gvanrossum, lys.nikolaou, pablogsal
Date 2020-10-30.10:09:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604052559.69.0.261468356002.issue42206@roundup.psfhosted.org>
In-reply-to
Content
When working on the AST validator, it is unclear that which of the changes caused parser to fail on valid input. I propose to propagate the error and raise it.

Current:
$ ./python t.py
python: Parser/pegen.c:1146: _PyPegen_run_parser: Assertion `PyAST_Validate(res)' failed.

Proposed:
$ ./python t.py
ValueError: Test AST error raised by the Python/ast.c
History
Date User Action Args
2020-10-30 10:09:19BTaskayasetrecipients: + BTaskaya, gvanrossum, lys.nikolaou, pablogsal
2020-10-30 10:09:19BTaskayasetmessageid: <1604052559.69.0.261468356002.issue42206@roundup.psfhosted.org>
2020-10-30 10:09:19BTaskayalinkissue42206 messages
2020-10-30 10:09:19BTaskayacreate