From cb4eeddeea7c4f83ed416b886a67e9c84032edeb Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 27 Jan 1992 16:48:10 +0000 Subject: [PATCH] Don't print "Unhandled exception: " when one occurs -- just print its name. --- Python/pythonmain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Python/pythonmain.c b/Python/pythonmain.c index 64e2f1016f2e..36f13f0a9cd3 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) { -- 2.47.3