view Python/getplatform.c @ 61384:07a47a514548

PyErr_SetFromErrnoWithFilename() decodes the filename using PyUnicode_DecodeFSDefault() instead of PyUnicode_FromString()
author Victor Stinner <victor.stinner@haypocalc.com>
date Sat, 08 May 2010 00:35:33 +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;
}