Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 17874:eb03c6fc31e5 legacy-trunk
SF bug #425836: Reference leak in filter().
Mark Hammond claimed that the iterized filter() forgot to decref the
iterator upon return. He was right!
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Mon, 21 May 2001 08:07:05 +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; }
