Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 28759:3df0cf16defc legacy-trunk
Revert the previous enhancement to the bytecode optimizer.
The additional code complexity and new NOP opcode were not worth it.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Thu, 24 Apr 2003 05:45:23 +0000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
