]> granicus.if.org Git - python/commit
Repair the same thinko in two places about handling of _Py_RefTotal in
authorMichael W. Hudson <mwh@python.net>
Tue, 3 Aug 2004 10:21:03 +0000 (10:21 +0000)
committerMichael W. Hudson <mwh@python.net>
Tue, 3 Aug 2004 10:21:03 +0000 (10:21 +0000)
commit3f3b66823f899868b86722d586a6cd00df4cbad9
treeb848a249f44b6e2278252ce9fcda1ab4b4588820
parent3bfed9c22547d1f950bb4bcbb54acae894e9b343
Repair the same thinko in two places about handling of _Py_RefTotal in
the case of __del__ resurrecting an object.
This makes the apparent reference leaks in test_descr go away (which I
expected) and also kills off those in test_gc (which is more surprising
but less so once you actually think about it a bit).
Objects/classobject.c
Objects/typeobject.c