summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-03-31 22:20:35 (GMT)
committerJesse Noller <jnoller@gmail.com>2009-03-31 22:20:35 (GMT)
commit42f9b4e5b4fff45ef4a071112787de6b29a5099a (patch)
treed5c6d7fa45a9cea2084bbabbf9c85c647fc38ba4 /Python
parentb7715865e77a7516859710122b07bd0963936209 (diff)
downloadcpython-42f9b4e5b4fff45ef4a071112787de6b29a5099a.zip
cpython-42f9b4e5b4fff45ef4a071112787de6b29a5099a.tar.gz
cpython-42f9b4e5b4fff45ef4a071112787de6b29a5099a.tar.bz2
Issue 5619: Pass MS CRT debug flags into subprocesses
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index d0c5b2b..b3866ce 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);