On Wednesday, December 26, 2012 6:49:52 PM UTC+1, Jean-Pierre Flori wrote: > > The offending object seems to be a weakref which is not refcounted > correctly. > Not sure which yet. > Not sure why, but it might be the one initialized by the Expect class at the line: quit.expect_objects.append(weakref.ref(self))
If I add: import gc print gc.get_referrers(quit.expect_objects[-1]) I get: [Mathematica, [<weakref at 0x21c07c0; to 'Mathematica' at 0x21bd490>]] Strange that Mathematica points to its weakref. The second member is quit.expect_object I assume. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.