Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 84557:5fa793ae36cc
Issue #17872: Fix a segfault in marshal.load() when input stream returns
more bytes than requested.
| author | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| date | Thu, 11 Jul 2013 22:28:18 +0300 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
