SF bug 431772: traceback.print_exc() causes traceback
Patch from Michael Hundson. format_exception_only() blew up when trying to report a SyntaxError from a string input (line is None in this case, but it assumed a string). Bugfix candidate.
Showing
Please register or sign in to comment