diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 7add832..27c9d23 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -2006,6 +2006,7 @@ void Py_FatalError(const char *msg) { fprintf(stderr, "Fatal Python error: %s\n", msg); + fflush(stderr); /* it helps in Windows debug build */ if (PyErr_Occurred()) { PyErr_Print(); } |