view Python/getplatform.c @ 83687:8a5bebea9fec

Issue #1545463: At shutdown, defer finalization of codec modules so that stderr remains usable. (should fix Windows buildbot failures on test_gc)
author Antoine Pitrou <solipsis@pitrou.net>
date Wed, 08 May 2013 13:23:25 +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;
}