commit | 0bb580d297bdc6ccb33fcd15e317a79112e77750 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Jun 10 18:58:26 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Jun 10 18:58:26 2001 +0000 |
tree | 8d119d7ac6a5aa063eee3c211f44f78e67044f3c | |
parent | 07c1922b12ae56dc892672d02f95e7521e1b8d55 [diff] |
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.