diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-20 20:02:37 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-20 20:02:37 (GMT) |
commit | 9c801abef333c8a932bc6eddbee4dbaec25b579c (patch) | |
tree | e898de2e3babf12c3763359a35e01356918ed192 /Modules | |
parent | ff88e460aa1d24c5c44028fef26b65e0b4a27fa5 (diff) | |
download | cpython-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')
-rw-r--r-- | Modules/threadmodule.c | 2 |
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); } } |