Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 28325:850626d47574 legacy-trunk
Fixed SF bug #663074. The codec system was using global static
variables to store internal data. As a result, any atempts to use the
unicode system with multiple active interpreters, or successive
interpreter executions, would fail.
Now that information is stored into members of the PyInterpreterState
structure.
| author | Gustavo Niemeyer <gustavo@niemeyer.net> |
|---|---|
| date | Wed, 19 Mar 2003 00:35:36 +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; }
