Staging
v0.5.1
https://github.com/python/cpython
Revision 1f364438adf1bcdc89a51af9af526ed9d7b7996d authored by Serhiy Storchaka on 12 May 2016, 07:39:32 UTC, committed by Serhiy Storchaka on 12 May 2016, 07:39:32 UTC
2 parent s 5787ef6 + ea36c94
Raw File
Tip revision: 1f364438adf1bcdc89a51af9af526ed9d7b7996d authored by Serhiy Storchaka on 12 May 2016, 07:39:32 UTC
Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.
Tip revision: 1f36443
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