Staging
v0.5.1
https://github.com/python/cpython
Revision d92ee3ea622b6eee5846681bad5595cfedcf20b6 authored by terryjreedy on 13 June 2017, 19:40:59 UTC, committed by GitHub on 13 June 2017, 19:40:59 UTC
For unknown reasons, this does not work when running leak tests.
(cherry picked from commit 049cf2bb44038351e1b2eed4fc7b1b522329e550)
1 parent b0efd49
Raw File
Tip revision: d92ee3ea622b6eee5846681bad5595cfedcf20b6 authored by terryjreedy on 13 June 2017, 19:40:59 UTC
[3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172)
Tip revision: d92ee3e
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