Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 39222:b0cdcbcc5f45
Get rid of most of the flags (in tp_flags) that keep track of various
variations of the type struct and its attachments. In Py3k, all type
structs have to have all fields -- no binary backwards compatibility.
Had to change the complex object to a new-style number!
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 27 Jul 2006 21:53:35 +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; }
