Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 76384:c1399cf7bd6a
Issue #12599: Be more strict in accepting None vs. a false-like object
in importlib.
Thanks to PJE for pointing out the issue and Nick Coghlan for filing
the bug.
| author | Brett Cannon <brett@python.org> |
|---|---|
| date | Tue, 17 Apr 2012 21:41:35 -0400 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
