Changes between Version 1 and Version 2 of Ticket #29878
- Timestamp:
- Oct 22, 2018, 8:44:18 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29878 – Description
v1 v2 28 28 gc.collect() 29 29 objs_counts = {} 30 gc_objs = {}31 30 for obj in gc.get_objects(): 32 31 key = str(type(obj)) … … 34 33 objs_counts[key] += 1 35 34 else: 36 gc_objs[key] = obj37 35 objs_counts[key] = 1 38 36 return objs_counts, gc_objs … … 47 45 _first_time = False 48 46 else: 49 _new_objs , gc_objs= gc_objects()47 _new_objs = gc_objects() 50 48 leaked = {} 51 49 for k, v in _new_objs.iteritems():