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 gvanrossum
Recipients brandtbucher, gvanrossum, lys.nikolaou, miss-islington, ned.deily, nnemkin, pablogsal, terry.reedy, vstinner
Date 2020-11-12.22:10:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605219044.71.0.101657982142.issue40939@roundup.psfhosted.org>
In-reply-to
Content
Honestly that code seems poorly thought out. If running it returns -1, an exception was presumably reported, but not necessarily SyntaxError -- so parsing it may not produce an error at all.

The functionality needed is in PyRun_InteractiveOneObjectEx(), but that is not public. :-(
History
Date User Action Args
2020-11-12 22:10:44gvanrossumsetrecipients: + gvanrossum, terry.reedy, vstinner, ned.deily, nnemkin, lys.nikolaou, pablogsal, miss-islington, brandtbucher
2020-11-12 22:10:44gvanrossumsetmessageid: <1605219044.71.0.101657982142.issue40939@roundup.psfhosted.org>
2020-11-12 22:10:44gvanrossumlinkissue40939 messages
2020-11-12 22:10:44gvanrossumcreate