Mercurial > cpython-lru_cache-weakref
view Python/getversion.c @ 69218:b0d2b696da19 2.7
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:29:58 -0700 |
| parents | 9f2fbee420da |
| children |
line wrap: on
line source
/* Return the full version string. */ #include "Python.h" #include "patchlevel.h" const char * Py_GetVersion(void) { static char version[250]; PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s", PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler()); return version; }
