Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 33880:8a09c82e4261 legacy-trunk
Maintain peepholer's cumlc invariant by updating the running total
everytime a LOAD_CONSTANT is encountered, created, or overwritten.
Added two tests to cover cases affected by the patch.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Tue, 02 Nov 2004 04:20:10 +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; }
