Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 78900:85070f284fd2
Issue #15781: Fix two small race conditions in import's module locking.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Tue, 28 Aug 2012 00:24:52 +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; }
