Staging
v0.5.1
https://github.com/python/cpython
Revision 8dcec1381eef7420b0f83395c323eceec8fea19d authored by Barry Warsaw on 16 August 2004, 15:31:43 UTC, committed by Barry Warsaw on 16 August 2004, 15:31:43 UTC
del_param fails when specifying a header.

I'll port this to Python 2.4 shortly.
1 parent f4c2c0c
Raw File
Tip revision: 8dcec1381eef7420b0f83395c323eceec8fea19d authored by Barry Warsaw on 16 August 2004, 15:31:43 UTC
Test cases and fixes for bugs described in patch #873418: email/Message.py:
Tip revision: 8dcec13
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