Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 70448:0cded2f2cea3 3.1
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)
| author | Ned Deily <nad@acm.org> |
|---|---|
| date | Sat, 28 May 2011 00:19:56 -0700 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
