Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 35667:6c3d0a0c1956 2.4
Backported:
Fix segfault with invalid coding.
(See SF bug: 772896 for another fix)
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 02 Oct 2005 01:51:56 +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; }
