Mercurial > cpython-lru_cache-weakref
view Python/getcompiler.c @ 50666:b98fe8dc8acd 3.0
Merged revisions 68451 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r68451 | antoine.pitrou | 2009-01-09 19:53:14 +0100 (ven., 09 janv. 2009) | 6 lines
Issue #4705: Fix the -u ("unbuffered binary stdout and stderr") command-line
flag to work properly. Furthermore, when specifying -u, the text stdout
and stderr streams have line-by-line buffering enabled (the default being
to buffer arbitrary chunks of data). Patch by Victor Stinner, test by me.
........
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Fri, 09 Jan 2009 19:14:56 +0000 |
| parents | 4306107b1395 |
| children |
line wrap: on
line source
/* Return the compiler identification, if possible. */ #include "Python.h" #ifndef COMPILER #ifdef __GNUC__ #define COMPILER "\n[GCC " __VERSION__ "]" #endif #endif /* !COMPILER */ #ifndef COMPILER #ifdef __cplusplus #define COMPILER "[C++]" #else #define COMPILER "[C]" #endif #endif /* !COMPILER */ const char * Py_GetCompiler(void) { return COMPILER; }
