diff Python/pythonrun.c @ 52609:111352112afa

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 ........
author Jesse Noller <jnoller@gmail.com>
date Tue, 31 Mar 2009 22:36:44 +0000
parents 3049ac17e256
children 0530aadff696
line wrap: on
line diff
--- a/Python/pythonrun.c	Tue Mar 31 21:37:16 2009 +0000
+++ b/Python/pythonrun.c	Tue Mar 31 22:36:44 2009 +0000
@@ -2006,6 +2006,7 @@
 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();
 	}