Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 69219:378b40d71175 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, 09 Apr 2011 12:32:12 -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; }
