From 9c801abef333c8a932bc6eddbee4dbaec25b579c Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 20 Oct 2000 20:02:37 +0000 Subject: [PATCH] t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...). This closes bug #117324. --- Modules/threadmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 97ab4e1375c..e0afde5ea9e 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); } }