Mercurial > cpython-lru_cache-weakref
diff Modules/threadmodule.c @ 15288:1f4a9ade30ec legacy-trunk
t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...).
This closes bug #117324.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 20 Oct 2000 20:02:37 +0000 |
| parents | 6f6f965c5e2d |
| children | 38dcec06617b |
line wrap: on
line diff
--- a/Modules/threadmodule.c Fri Oct 20 07:49:00 2000 +0000 +++ b/Modules/threadmodule.c Fri Oct 20 20:02:37 2000 +0000 @@ -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); } }
