Message380855
| 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. :-( |
|