view Python/getplatform.c @ 37162:b4d92ef2f338 legacy-trunk

Forward port MvL's fix in 43227: Fix crash when a Unicode string containing an encoding declaration is compile()d. Fixes #1115379.
author Neal Norwitz <nnorwitz@gmail.com>
date Thu, 23 Mar 2006 05:39: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;
}