view Python/getplatform.c @ 41128:45ce388ec59a legacy-trunk

Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167. Will backport.
author Collin Winter <collinw@gmail.com>
date Mon, 12 Mar 2007 16:11:39 +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;
}