Staging
v0.5.1
https://github.com/python/cpython
Revision af956f1d4805e7a78bca211cb8246661edcba535 authored by Benjamin Peterson on 22 October 2008, 21:19:41 UTC, committed by Benjamin Peterson on 22 October 2008, 21:19:41 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67000 | benjamin.peterson | 2008-10-22 16:16:34 -0500 (Wed, 22 Oct 2008) | 1 line

  fix #4150: pdb's up command didn't work for generators in post-mortem
........
1 parent 3e80861
Raw File
Tip revision: af956f1d4805e7a78bca211cb8246661edcba535 authored by Benjamin Peterson on 22 October 2008, 21:19:41 UTC
Merged revisions 67000 via svnmerge from
Tip revision: af956f1
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