view Python/getplatform.c @ 65349:bb30393d1ea1

imp.load_dynamic() uses PyUnicode_FSConverter() to support surrogates in the library path.
author Victor Stinner <victor.stinner@haypocalc.com>
date Fri, 15 Oct 2010 12:48:01 +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;
}