Staging
v0.5.1
https://github.com/python/cpython
Revision ab7481a0a4d0402b8d9290df608bb6759e97e9bc authored by Philip Jenvey on 22 May 2009, 05:46:35 UTC, committed by Philip Jenvey on 22 May 2009, 05:46:35 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72817 | philip.jenvey | 2009-05-21 22:35:32 -0700 (Thu, 21 May 2009) | 4 lines

  don't use subprocess.call with PIPEs as the child can fill the pipe buf and
  deadlock. add a warning to subprocess docs about this, similar to Popen.wait's.
  refs http://bugs.jython.org/issue1351
........
1 parent d40285a
Raw File
Tip revision: ab7481a0a4d0402b8d9290df608bb6759e97e9bc authored by Philip Jenvey on 22 May 2009, 05:46:35 UTC
Merged revisions 72817 via svnmerge from
Tip revision: ab7481a
getcompiler.c

/* 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;
}
back to top