Commit 9c801abe authored by Fred Drake's avatar Fred Drake

t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...).

This closes bug #117324.
parent ff88e460
......@@ -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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment