summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-03-31 22:42:05 (GMT)
committerJesse Noller <jnoller@gmail.com>2009-03-31 22:42:05 (GMT)
commitd74e883564ebbc93d85a99b6b3b9b1163907fb7d (patch)
treed3ede08aa66deb633a589ae5e320fc59fd892f06 /Python/pythonrun.c
parentb4a3664eb82148bc79418df019b9187b34320297 (diff)
downloadcpython-d74e883564ebbc93d85a99b6b3b9b1163907fb7d.zip
cpython-d74e883564ebbc93d85a99b6b3b9b1163907fb7d.tar.gz
cpython-d74e883564ebbc93d85a99b6b3b9b1163907fb7d.tar.bz2
Merged revisions 70913 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r70913 | jesse.noller | 2009-03-31 17:36:44 -0500 (Tue, 31 Mar 2009) | 9 lines 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 65c6f5f..bec1d02 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1998,6 +1998,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();
}