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 Naftali.Harris
Recipients Naftali.Harris, benjamin.peterson, kbk
Date 2016-12-30.23:46:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
For your convenience, here is a possible patch fixing these issues. It modifies the format_exception_only function in the traceback module to follow the behavior of the interpreter a little more closely for SyntaxError's. Feel free to use, in whole, in part, or not at all, as you wish. Happy new year! :-)
Date User Action Args
2016-12-30 23:46:03Naftali.Harrissetrecipients: + Naftali.Harris, kbk, benjamin.peterson
2016-12-30 23:46:03Naftali.Harrissetmessageid: <>
2016-12-30 23:46:03Naftali.Harrislinkissue29107 messages
2016-12-30 23:46:02Naftali.Harriscreate