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 pablogsal
Recipients BTaskaya, pablogsal
Date 2021-05-15.16:30:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621096211.06.0.0593507223604.issue44143@roundup.psfhosted.org>
In-reply-to
Content
The parser currently crashes when raising exceptions when the error indicator set. Reproducer:

import ast
source = """\
[interesting
foo()
"""
print(repr(source))
compile(source, "", "exec")

We need to make sure to clean any existing exception before we raise or own.
History
Date User Action Args
2021-05-15 16:30:11pablogsalsetrecipients: + pablogsal, BTaskaya
2021-05-15 16:30:11pablogsalsetmessageid: <1621096211.06.0.0593507223604.issue44143@roundup.psfhosted.org>
2021-05-15 16:30:11pablogsallinkissue44143 messages
2021-05-15 16:30:10pablogsalcreate