Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 52594:6640996f04e7 | 52609:111352112afa |
|---|---|
| 2004 | 2004 |
| 2005 void | 2005 void |
| 2006 Py_FatalError(const char *msg) | 2006 Py_FatalError(const char *msg) |
| 2007 { | 2007 { |
| 2008 fprintf(stderr, "Fatal Python error: %s\n", msg); | 2008 fprintf(stderr, "Fatal Python error: %s\n", msg); |
| 2009 fflush(stderr); /* it helps in Windows debug build */ | |
| 2009 if (PyErr_Occurred()) { | 2010 if (PyErr_Occurred()) { |
| 2010 PyErr_Print(); | 2011 PyErr_Print(); |
| 2011 } | 2012 } |
| 2012 #ifdef MS_WINDOWS | 2013 #ifdef MS_WINDOWS |
| 2013 { | 2014 { |
