Lines Matching refs:garbage
5 :synopsis: Interface to the cycle-detecting garbage collector.
12 This module provides an interface to the optional garbage collector. It
20 ``gc.DEBUG_SAVEALL``, causing garbage-collected objects to be saved in
21 gc.garbage for inspection.
28 Enable automatic garbage collection.
33 Disable automatic garbage collection.
56 Set the garbage collection debugging flags. Debugging information will be
88 to be uncollectable (and were therefore moved to the :data:`garbage`
96 Set the garbage collection thresholds (the collection frequency). Setting
129 will only locate those containers which support garbage collection; extension
130 types which do refer to other objects but do not support garbage collection will
134 and have not yet been collected by the garbage collector can be listed among the
150 that support garbage collection, and are only required to visit objects that may
157 Returns ``True`` if the object is currently tracked by the garbage collector,
161 in order to suppress the garbage collector footprint of simple instances
183 garbage collector, ``False`` otherwise. ::
231 .. data:: garbage
249 up in :attr:`gc.garbage` anymore.
253 A list of callbacks that will be invoked by the garbage collector before and
259 "start": The garbage collection is about to start.
261 "stop": The garbage collection has finished.
272 that could not be collected and were put in :data:`garbage`.
277 Gathering statistics about garbage collection, such as how often
282 types when they appear in :data:`garbage`.
305 to the ``garbage`` list.
308 Also print the contents of the :data:`garbage` list at
313 When set, all unreachable objects found will be appended to *garbage* rather