Naftali Harris added the comment: 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! :-)
---------- keywords: +patch Added file: http://bugs.python.org/file46095/traceback_fixes.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29107> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com