commit | 42f9b4e5b4fff45ef4a071112787de6b29a5099a | [log] [tgz] |
---|---|---|
author | Jesse Noller <jnoller@gmail.com> | Tue Mar 31 22:20:35 2009 +0000 |
committer | Jesse Noller <jnoller@gmail.com> | Tue Mar 31 22:20:35 2009 +0000 |
tree | d5c6d7fa45a9cea2084bbabbf9c85c647fc38ba4 | |
parent | b7715865e77a7516859710122b07bd0963936209 [diff] [blame] |
Issue 5619: Pass MS CRT debug flags into subprocesses
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index d0c5b2b..b3866ce 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c
@@ -1634,6 +1634,8 @@ Py_FatalError(const char *msg) { fprintf(stderr, "Fatal Python error: %s\n", msg); + fflush(stderr); /* it helps in Windows debug build */ + #ifdef MS_WINDOWS { size_t len = strlen(msg);