summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-03-31 22:20:35 +0000
committerJesse Noller <jnoller@gmail.com>2009-03-31 22:20:35 +0000
commit378e8eebeaed6c78fc9db798519823e2d0bfd89c (patch)
tree51c393b4ee18b9e29451cbb2833d4a5b62d26b88 /Python/pythonrun.c
parent155cdd6e5ecae3be149ce80c00ce4c13ca0090d5 (diff)
downloadcpython-378e8eebeaed6c78fc9db798519823e2d0bfd89c.tar.gz
Issue 5619: Pass MS CRT debug flags into subprocesses
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index d0c5b2bf34..b3866cebb8 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1634,6 +1634,8 @@ void
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);