From: Fred Drake Date: Fri, 20 Oct 2000 20:02:37 +0000 (+0000) Subject: t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...). X-Git-Tag: v2.1a1~857 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c801abef333c8a932bc6eddbee4dbaec25b579c;p=thirdparty%2FPython%2Fcpython.git t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...). This closes bug #117324. --- diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 97ab4e1375cd..e0afde5ea9e1 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -197,7 +197,7 @@ t_bootstrap(void *boot_raw) if (PyErr_ExceptionMatches(PyExc_SystemExit)) PyErr_Clear(); else { - fprintf(stderr, "Unhandled exception in thread:\n"); + PySys_WriteStderr("Unhandled exception in thread:\n"); PyErr_PrintEx(0); } }