Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 85200:ec296a36156b 2.7
Issue #18756: Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Fri, 16 Aug 2013 20:44:38 +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; }
