view Python/getplatform.c @ 70900:7731d2ab4fd4

find_module_path_list() fails if _Py_fopen() failed and raised an exception (UnicodeEncodeError).
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 20 Jun 2011 15:01:10 +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;
}