Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 44157:565012d1123d
Removed another occurrence of PyInt_ExactCheck()
I've modified the semantic of PyTraceBack_Print and sys.tracebacklimit slightly. Overfloats or values <= 0 are replaced with a default value to avoid infinite recursion and other issues.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Tue, 04 Dec 2007 21:55:18 +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; }
