Staging
v0.5.1
https://github.com/python/cpython
Revision fc5290458d00e3eebf82dd914fd2848b7e3f7e87 authored by Mark Dickinson on 23 January 2010, 20:48:56 UTC, committed by Mark Dickinson on 23 January 2010, 20:48:56 UTC
this fixes the first bug described in issue #7743.
1 parent c64614e
Raw File
Tip revision: fc5290458d00e3eebf82dd914fd2848b7e3f7e87 authored by Mark Dickinson on 23 January 2010, 20:48:56 UTC
Issue #7743: Add checks for zero inputs to the lshift and mult functions;
Tip revision: fc52904
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