view Python/getplatform.c @ 40703:df294bc5ce6e legacy-trunk

Make PyTraceBack_Here use the current thread, not the frame's thread state. Fixes #1579370. Will backport.
author Martin v. Löwis <martin@v.loewis.de>
date Tue, 23 Jan 2007 21:11: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;
}