view Python/getplatform.c @ 85515:934e650abc4d 3.3

Issue #16826: Don't check for PYTHONCASEOK when using -E. This commit fixes a regression that sneaked into Python 3.3 where importlib was not respecting -E when checking for the PYTHONCASEOK environment variable.
author Meador Inge <meadori@gmail.com>
date Tue, 03 Sep 2013 16:37:26 -0500
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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