diff options
author | Guido van Rossum <guido@python.org> | 1992-01-27 16:48:10 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-01-27 16:48:10 (GMT) |
commit | cb4eeddeea7c4f83ed416b886a67e9c84032edeb (patch) | |
tree | 4339792405e44d69b21b0a586f03be97e6bd54d5 /Python | |
parent | 3b1a57a4a0bf49b12869f80d9b7880fcff72a85a (diff) | |
download | cpython-cb4eeddeea7c4f83ed416b886a67e9c84032edeb.zip cpython-cb4eeddeea7c4f83ed416b886a67e9c84032edeb.tar.gz cpython-cb4eeddeea7c4f83ed416b886a67e9c84032edeb.tar.bz2 |
Don't print "Unhandled exception: " when one occurs -- just print its name.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonmain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonmain.c b/Python/pythonmain.c index 64e2f10..36f13f0 100644 --- a/Python/pythonmain.c +++ b/Python/pythonmain.c @@ -300,7 +300,9 @@ print_error() goaway(1); } } + /* fprintf(stderr, "Unhandled exception: "); + */ if (printobject(exception, stderr, PRINT_RAW) != 0) err_clear(); if (v != NULL && v != None) { |