Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 70402:2e72fcfb2527
print_exception(): handle correctly PyObject_GetAttrString() failure
Bug found by the Clang Static Analyzer.
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Thu, 26 May 2011 14:25:13 +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; }
