Closed GoogleCodeExporter closed 8 years ago
Whittled the test_copy leak down to:
def leak():
class C(object):
def f(self, memo=None):
return C
Just calling leak once leaks two references (but not more than 2, which is a
little
odd.) Removing the default to 'f' removes the leak. Returning something other
than C
removes the leak. The same code does not leak without -L0 or higher.
Original comment by thomaswout@gmail.com
on 20 May 2009 at 4:26
Fixed in r569.
Original comment by thomaswout@gmail.com
on 20 May 2009 at 9:07
Original issue reported on code.google.com by
thomaswout@gmail.com
on 20 May 2009 at 1:12