original_docstring: List all the referrers of the tracked objects.
  
          Can exlude some objects and go to deeper levels (referrers of the
          referrers) in which case reference to the first object are filtered.
          References held by frames are also filtered
  
          This function is mostly useful when tracking why an object that is
          expected to be released is not.
  
          
docstring: List all the referrers of the tracked objects.
  Can exlude some objects and go to deeper levels (referrers of the
  referrers) in which case reference to the first object are filtered.
  References held by frames are also filtered
  
  This function is mostly useful when tracking why an object that is
  expected to be released is not.
docstring_tokens: List all the referrers of the tracked objects . Can exlude some objects and go to deeper levels ( referrers of the referrers ) in which case reference to the first object are filtered . References held by frames are also filtered This function is mostly useful when tracking why an object that is expected to be released is not .
code: def list_referrers(self, exclude=[], depth=0):
          """List all the referrers of the tracked objects.
  
          Can exlude some objects and go to deeper levels (referrers of the
          referrers) in which case reference to the first object are filtered.
          References held by frames are also filtered
  
          This function is mostly useful when tracking why an object that is
          expected to be released is not.
  
          """
          gc.collect()
  
          def find_referrers(ref_dict, obj, depth=0, exclude=[]):
              """Find the object referring the specified object.
  
              """
              referrers = [ref for ref in gc.get_referrers(obj)
                           if not (inspect.isframe(ref) or
                           ref in exclude)]
              if depth == 0:
                  ref_dict[obj] = referrers
              else:
                  deeper = {}
                  for r in referrers:
                      find_referrers(deeper, r, depth-1,
                                     exclude + [obj, referrers])
                  ref_dict[obj] = deeper
  
          tracked = {}
          objs = [r for r in self._refs if r not in exclude]
          for r in objs:
              find_referrers(tracked, r, depth, [objs])
  
          return tracked
code_tokens: def list_referrers ( self , exclude = [ ] , depth = 0 ) : gc . collect ( ) def find_referrers ( ref_dict , obj , depth = 0 , exclude = [ ] ) : """Find the object referring the specified object.
  
              """ referrers = [ ref for ref in gc . get_referrers ( obj ) if not ( inspect . isframe ( ref ) or ref in exclude ) ] if depth == 0 : ref_dict [ obj ] = referrers else : deeper = { } for r in referrers : find_referrers ( deeper , r , depth - 1 , exclude + [ obj , referrers ] ) ref_dict [ obj ] = deeper tracked = { } objs = [ r for r in self . _refs if r not in exclude ] for r in objs : find_referrers ( tracked , r , depth , [ objs ] ) return tracked
short_docstring: List all the referrers of the tracked objects.
short_docstring_tokens: List all the referrers of the tracked objects .
comment: """List all the referrers of the tracked objects.
  
          Can exlude some objects and go to deeper levels (referrers of the
          referrers) in which case reference to the first object are filtered.
          References held by frames are also filtered
  
          This function is mostly useful when tracking why an object that is
          expected to be released is not.
  
          """$SEP$"""Find the object referring the specified object.
  
              """