summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-03-31 22:25:20 (GMT)
committerJesse Noller <jnoller@gmail.com>2009-03-31 22:25:20 (GMT)
commit70b11f0f97c45b0e712c00d00d8f7f891ebab99e (patch)
tree4ad147b2bc91d2ad70278c3452bbb2de49f277a1 /Python
parent61611f84c91b3cd6d70e8f554efcef243f3413d1 (diff)
downloadcpython-70b11f0f97c45b0e712c00d00d8f7f891ebab99e.zip
cpython-70b11f0f97c45b0e712c00d00d8f7f891ebab99e.tar.gz
cpython-70b11f0f97c45b0e712c00d00d8f7f891ebab99e.tar.bz2
Merged revisions 70908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line Issue 5619: Pass MS CRT debug flags into subprocesses ........
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index f2cd819..38db290 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1631,6 +1631,8 @@ void
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);