view Python/getplatform.c @ 83153:aaaf36026511 3.3

Issue #14010: Fix a crash when iterating or deleting deeply nested filters (builting and in itertools module, i.e. map(), itertools.chain(), etc).
author Serhiy Storchaka <storchaka@gmail.com>
date Sat, 06 Apr 2013 21:14:43 +0300
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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