Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 39431:de9e1a5dca93 legacy-trunk
Followup to bug #1069160.
PyThreadState_SetAsyncExc(): internal correctness changes wrt
refcount safety and deadlock avoidance. Also added a basic test
case (relying on ctypes) and repaired the docs.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Thu, 10 Aug 2006 22:45:34 +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; }
