Changeset b5fbaedfb641…
Parent d5a9ae16b56b…
by
Changes to one file · Browse files at b5fbaedfb641 Showing diff from parent d5a9ae16b56b Diff from another changeset...
@@ -392,19 +392,19 @@ #return self.debug_cycles()
l0, l1, l2 = gc.get_count()
if self.debug:
- print ('gc_check called:', l0, l1, l2)
+ print 'gc_check called:', l0, l1, l2
if l0 > self.threshold[0]:
num = gc.collect(0)
if self.debug:
- print ('collecting gen 0, found:', num, 'unreachable')
+ print 'collecting gen 0, found:', num, 'unreachable'
if l1 > self.threshold[1]:
num = gc.collect(1)
if self.debug:
- print ('collecting gen 1, found:', num, 'unreachable')
+ print 'collecting gen 1, found:', num, 'unreachable'
if l2 > self.threshold[2]:
num = gc.collect(2)
if self.debug:
- print ('collecting gen 2, found:', num, 'unreachable')
+ print 'collecting gen 2, found:', num, 'unreachable'
def debug_cycles(self):
gc.collect()
|
Loading...