Staging
v0.8.1
https://github.com/python/cpython
Revision d4c7290368a82a265c9905dc5c1e95591fb96333 authored by Serhiy Storchaka on 30 October 2014, 22:53:19 UTC, committed by Serhiy Storchaka on 30 October 2014, 22:53:19 UTC
locale-dependent regular expressions taking into account the locale.
1 parent 6556698
Raw File
Tip revision: d4c7290368a82a265c9905dc5c1e95591fb96333 authored by Serhiy Storchaka on 30 October 2014, 22:53:19 UTC
Issue #22410: Module level functions in the re module now cache compiled
Tip revision: d4c7290
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