Lines Matching refs:wr
56 def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref): argument
60 self._pending_removals.append(wr.key)
64 _atomic_removal(self.data, wr.key)
129 for key, wr in self.data.items():
130 o = wr()
142 for key, wr in self.data.items():
143 o = wr()
152 wr = self.data[key]
156 o = wr()
167 for key, wr in self.data.items():
168 o = wr()
177 for wr in self.data.itervalues():
178 value = wr()
180 yield wr.key, value
204 for wr in self.data.itervalues():
205 yield wr
211 for wr in self.data.itervalues():
212 obj = wr()
220 key, wr = self.data.popitem()
221 o = wr()
291 for wr in self.data.values():
292 o = wr()
395 wr = ref(key)
398 return wr in self.data
402 wr = ref(key)
405 return wr in self.data
417 for wr, value in self.data.iteritems():
418 key = wr()
433 for wr in self.data.iterkeys():
434 yield wr
438 for wr in self.data.iterkeys():
439 obj = wr()
464 for wr in self.data.keys():
465 o = wr()