mirror of
https://github.com/python/cpython.git
synced 2025-07-20 01:35:19 +00:00
t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...).
This closes bug #117324.
This commit is contained in:
parent
ff88e460aa
commit
9c801abef3
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ t_bootstrap(void *boot_raw)
|
||||||
if (PyErr_ExceptionMatches(PyExc_SystemExit))
|
if (PyErr_ExceptionMatches(PyExc_SystemExit))
|
||||||
PyErr_Clear();
|
PyErr_Clear();
|
||||||
else {
|
else {
|
||||||
fprintf(stderr, "Unhandled exception in thread:\n");
|
PySys_WriteStderr("Unhandled exception in thread:\n");
|
||||||
PyErr_PrintEx(0);
|
PyErr_PrintEx(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue