diff Python/pythonrun.c @ 52605:e2818b9f964b 2.6

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:25:20 +0000
parents ee9ced92843a
children cb58c973985c
line wrap: on
line diff
--- a/Python/pythonrun.c	Tue Mar 31 21:40:18 2009 +0000
+++ b/Python/pythonrun.c	Tue Mar 31 22:25:20 2009 +0000
@@ -1631,6 +1631,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);