commit | 9c801abef333c8a932bc6eddbee4dbaec25b579c | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Oct 20 20:02:37 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Oct 20 20:02:37 2000 +0000 |
tree | e898de2e3babf12c3763359a35e01356918ed192 | |
parent | ff88e460aa1d24c5c44028fef26b65e0b4a27fa5 [diff] |
t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...). This closes bug #117324.
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 97ab4e1..e0afde5 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c
@@ -197,7 +197,7 @@ 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); } }