Changes between Version 1 and Version 2 of Ticket #29878


Ignore:
Timestamp:
Oct 22, 2018, 8:44:18 AM (6 years ago)
Author:
Yong Li
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29878 – Description

    v1 v2  
    2828    gc.collect()
    2929    objs_counts = {}
    30     gc_objs = {}
    3130    for obj in gc.get_objects():
    3231        key = str(type(obj))
     
    3433            objs_counts[key] += 1
    3534        else:
    36             gc_objs[key] = obj
    3735            objs_counts[key] = 1
    3836    return objs_counts, gc_objs
     
    4745        _first_time = False
    4846    else:
    49         _new_objs, gc_objs = gc_objects()
     47        _new_objs = gc_objects()
    5048        leaked = {}
    5149        for k, v in _new_objs.iteritems():
Back to Top