Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 32917:41facc3ccdd3 legacy-trunk
Don't intern the filename of a file being compiled.
Hard to believe it ever helped anything, and it hurts finding reference
leaks.
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Tue, 03 Aug 2004 10:24:03 +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; }
