Mercurial > cpython-lru_cache-weakref
diff Python/graminit.c @ 9980:dcbe72a0b392 legacy-trunk
builtin_map(): Nailed memory leak. PyList_Append() borrows a
reference, so you have to DECREF the appended value. This was a fun
one!
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Thu, 28 Jan 1999 04:21:35 +0000 |
| parents | ad114620f8c2 |
| children | 603db0d0aed1 |
