view Python/getplatform.c @ 83376:04aaeae6ee7b

Issue #17244: Don't mask exceptions raised during the creation of bytecode files in py_compile. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug report.
author Brett Cannon <brett@python.org>
date Sun, 14 Apr 2013 12:48:15 -0400
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}