Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.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 | c1091e82e5aa |
| children | caf2c65a6bcf |
comparison
equal
deleted
inserted
replaced
| 9978:f6b2f20da581 | 9979:489ef7f64041 |
|---|
