Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 84511:697d722d97f9
Issue #18408: Fix marshal reader for Unicode strings: handle
PyUnicode_DecodeUTF8() failure (ex: MemoryError).
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Mon, 08 Jul 2013 22:23:32 +0200 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
