Message380855
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. :-( |
|
Date |
User |
Action |
Args |
2020-11-12 22:10:44 | gvanrossum | set | recipients:
+ gvanrossum, terry.reedy, vstinner, ned.deily, nnemkin, lys.nikolaou, pablogsal, miss-islington, brandtbucher |
2020-11-12 22:10:44 | gvanrossum | set | messageid: <1605219044.71.0.101657982142.issue40939@roundup.psfhosted.org> |
2020-11-12 22:10:44 | gvanrossum | link | issue40939 messages |
2020-11-12 22:10:44 | gvanrossum | create | |
|