diff Python/pythonrun.c @ 52604:5cf74137c0f8 legacy-trunk

Issue 5619: Pass MS CRT debug flags into subprocesses
author Jesse Noller <jnoller@gmail.com>
date Tue, 31 Mar 2009 22:20:35 +0000
parents 9b358eae532a
children 634502be8dcc
line wrap: on
line diff
--- a/Python/pythonrun.c	Tue Mar 31 22:18:19 2009 +0000
+++ b/Python/pythonrun.c	Tue Mar 31 22:20:35 2009 +0000
@@ -1634,6 +1634,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);