view Python/getplatform.c @ 82189:385d982ce641 2.7

Issue #5308: Raise ValueError when marshalling too large object (a sequence with size >= 2**31), instead of producing illegal marshal data.
author Serhiy Storchaka <storchaka@gmail.com>
date Wed, 13 Feb 2013 12:07:43 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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