summaryrefslogtreecommitdiffstats
path: root/Modules/threadmodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-20 20:02:37 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-20 20:02:37 (GMT)
commit9c801abef333c8a932bc6eddbee4dbaec25b579c (patch)
treee898de2e3babf12c3763359a35e01356918ed192 /Modules/threadmodule.c
parentff88e460aa1d24c5c44028fef26b65e0b4a27fa5 (diff)
downloadcpython-9c801abef333c8a932bc6eddbee4dbaec25b579c.zip
cpython-9c801abef333c8a932bc6eddbee4dbaec25b579c.tar.gz
cpython-9c801abef333c8a932bc6eddbee4dbaec25b579c.tar.bz2
t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...).
This closes bug #117324.
Diffstat (limited to 'Modules/threadmodule.c')
-rw-r--r--Modules/threadmodule.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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);
}
}