Message294699
Answering my own question:
It appears I can get the location of a syntax error by inspecting the
raised `SyntaxError`, which solves my specific use-case.
The bug remains, though: The traceback is incomplete if it stems from a syntax error. |
|
Date |
User |
Action |
Args |
2017-05-29 15:25:47 | stefan | set | recipients:
+ stefan, brett.cannon, ncoghlan, benjamin.peterson, yselivanov |
2017-05-29 15:25:47 | stefan | set | messageid: <1496071547.7.0.47391922865.issue30496@psf.upfronthosting.co.za> |
2017-05-29 15:25:47 | stefan | link | issue30496 messages |
2017-05-29 15:25:47 | stefan | create | |
|