Staging
v0.8.1
https://github.com/python/cpython
Revision 2ea2b1133eb9676454bc680450bf121e1493f7a4 authored by Barry Warsaw on 25 September 2000, 15:08:27 UTC, committed by Barry Warsaw on 25 September 2000, 15:08:27 UTC
literal be wrapped in square brackets.  This fix replaces the square
brackets that were previously being stripped off.  Closes SF bug
#110621.
1 parent ee76f0b
Raw File
Tip revision: 2ea2b1133eb9676454bc680450bf121e1493f7a4 authored by Barry Warsaw on 25 September 2000, 15:08:27 UTC
AddrlistClass.getdomainliteral(): rfc822 requires that the domain
Tip revision: 2ea2b11
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