Mercurial > cpython-lru_cache-weakref
comparison Python/errors.c @ 9979:489ef7f64041 legacy-trunk
builtin_complex(): Nailed memory leak. This one's in the instance
test for classes with a __complex__() method. The attribute is pulled
out of the instance with PyObject_GetAttr() but this transfers
ownership and the function object was never DECREF'd.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Wed, 27 Jan 1999 23:13:59 +0000 |
| parents | 1d40bc25703a |
| children | df8a1c281ad7 |
comparison
equal
deleted
inserted
replaced
| 9978:f6b2f20da581 | 9979:489ef7f64041 |
|---|
