mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...).
This closes bug #117324.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user