Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 72897:ee4fe16d9b48 2.7
Issue #13156: revert changeset f6feed6ec3f9, which was only relevant for native
TLS implementations, and fails with the ad-hoc TLS implementation when a thread
doesn't have an auto thread state (e.g. a thread created outside of Python
calling into a subinterpreter).
| author | Charles-François Natali <neologix@free.fr> |
|---|---|
| date | Wed, 12 Oct 2011 21:07:54 +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; }
