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 aroberge, gvanrossum, pablogsal, terry.reedy
Date 2021-03-06.01:24:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614993848.56.0.788410734501.issue43366@roundup.psfhosted.org>
In-reply-to
Content
In any case, the underlying problem here is the fact that codeop is deciding to continue asking for input of not depending on the repr() of the syntax error exception itself, which is the major hack here.

Previously, it worked because for unclosed parens the parser was throwing different line numbers for the end of file as codeop keeps adding new lines, but now all these points to the same unclosed paren.
History
Date User Action Args
2021-03-06 01:24:08pablogsalsetrecipients: + pablogsal, gvanrossum, terry.reedy, aroberge
2021-03-06 01:24:08pablogsalsetmessageid: <1614993848.56.0.788410734501.issue43366@roundup.psfhosted.org>
2021-03-06 01:24:08pablogsallinkissue43366 messages
2021-03-06 01:24:08pablogsalcreate