view Python/getplatform.c @ 52711:7e86fa255fc2 legacy-trunk

In PyErr_GivenExceptionMatches, temporarily bump the recursion limit, so that in the most common case PyObject_IsSubclass will not raise a recursion error we have to ignore anyway.
author Georg Brandl <georg@python.org>
date Thu, 02 Apr 2009 02:47:44 +0000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}