view Python/getplatform.c @ 47599:e2eb70235392

Issue 1342: Python could not start if installed in a directory with non-ascii characters. This is the simple fix, which uses the FileSystemEncoding. Replacing all the char* with unicode strings is a major rewrite, and needs more thinking.
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Wed, 11 Jun 2008 17:40:47 +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;
}