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 stefan
Recipients benjamin.peterson, brett.cannon, ncoghlan, stefan, yselivanov
Date 2017-05-29.15:25:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496071547.7.0.47391922865.issue30496@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-05-29 15:25:47stefansetrecipients: + stefan, brett.cannon, ncoghlan, benjamin.peterson, yselivanov
2017-05-29 15:25:47stefansetmessageid: <1496071547.7.0.47391922865.issue30496@psf.upfronthosting.co.za>
2017-05-29 15:25:47stefanlinkissue30496 messages
2017-05-29 15:25:47stefancreate