view Python/getplatform.c @ 74596:a2f3d6986bfa 3.2

Issue #11235: Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
author Antoine Pitrou <solipsis@pitrou.net>
date Tue, 24 Jan 2012 17:44:06 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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