summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-03-31 22:36:44 +0000
committerJesse Noller <jnoller@gmail.com>2009-03-31 22:36:44 +0000
commit29f961227a266c2ed809b85089b6bf1bbc4f7bf8 (patch)
treefda21bd43da06b23c82977c8cb3ea3d9a72cbc8e /Python/pythonrun.c
parent4d32cbe752d7740d678d491d1e4ac89c432c20f3 (diff)
downloadcpython-29f961227a266c2ed809b85089b6bf1bbc4f7bf8.tar.gz
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/pythonrun.c')
-rw-r--r--Python/pythonrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 7add832387..27c9d23ea5 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();
}