view Python/getplatform.c @ 75824:daed636a3536 3.2

Fixes Issue #14331: Use significantly less stack space when importing modules by allocating path buffers on the heap instead of the stack.
author Gregory P. Smith <greg@krypto.org>
date Sun, 18 Mar 2012 16:06:53 -0700
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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