Example #1
0
 def finalize(self):
     gc.notifyPreFinalization()
     comments.append("del " + self.name)
     gc.abortDelayedFinalization(self.toAbort)
     # We manually restore weak references:
     gc.restoreWeakReferences(self.toAbort)
     gc.notifyPostFinalization()
Example #2
0
 def finalize(self):
     gc.notifyPreFinalization()
     comments.append("del "+self.name)
     gc.abortDelayedFinalization(self.toAbort)
     # We manually restore weak references:
     gc.restoreWeakReferences(self.toAbort)
     gc.notifyPostFinalization()
Example #3
0
 def finalize(self):
     gc.notifyPreFinalization()
     comments.append("del " + self.name)
     gc.abortDelayedFinalization(self.toAbort)
     gc.notifyPostFinalization()
Example #4
0
 def finalize(self):
     gc.notifyPreFinalization()
     comments.append("del "+self.name)
     gc.abortDelayedFinalization(self.toAbort)
     gc.notifyPostFinalization()