'Return a list of (cname,type) tuples of temp names and their type
that are currently in use. This includes only temps of a
Python object type which owns its reference.'

def temps_holding_reference(self):

    return [(name, type) for (name, type, manage_ref) in self.temps_in_use() if (manage_ref and type.is_pyobject)]
