Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 80292:4ebe1ede981e 2.7
Issue #15001: fix segfault on "del sys.modules['__main__']"
Patch by Victor Stinner.
| author | Hynek Schlawack <hs@ox.cx> |
|---|---|
| date | Wed, 07 Nov 2012 09:41:28 +0100 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
