comparison Python/pythonmain.c @ 639:2f95a01d6c1f legacy-trunk

Don't print "Unhandled exception: " when one occurs -- just print its name.
author Guido van Rossum <guido@python.org>
date Mon, 27 Jan 1992 16:48:10 +0000
parents 189ee3beebb5
children 6d1599be2b54
comparison
equal deleted inserted replaced
638:9d01e98ed849 639:2f95a01d6c1f
298 printobject(v, stderr, PRINT_RAW); 298 printobject(v, stderr, PRINT_RAW);
299 fprintf(stderr, "\n"); 299 fprintf(stderr, "\n");
300 goaway(1); 300 goaway(1);
301 } 301 }
302 } 302 }
303 /*
303 fprintf(stderr, "Unhandled exception: "); 304 fprintf(stderr, "Unhandled exception: ");
305 */
304 if (printobject(exception, stderr, PRINT_RAW) != 0) 306 if (printobject(exception, stderr, PRINT_RAW) != 0)
305 err_clear(); 307 err_clear();
306 if (v != NULL && v != None) { 308 if (v != NULL && v != None) {
307 fprintf(stderr, ": "); 309 fprintf(stderr, ": ");
308 if (printobject(v, stderr, PRINT_RAW) != 0) 310 if (printobject(v, stderr, PRINT_RAW) != 0)