Searched refs:_finalizer_registry (Results 1 – 6 of 6) sorted by relevance
178 _finalizer_registry = {} variable203 _finalizer_registry[self._key] = self208 _finalizer_registry=_finalizer_registry, argument214 del _finalizer_registry[self._key]234 del _finalizer_registry[self._key]245 return self._key in _finalizer_registry275 if _finalizer_registry is None:291 keys = [key for key in list(_finalizer_registry) if f(key)]295 finalizer = _finalizer_registry.get(key)306 _finalizer_registry.clear()
307 util._finalizer_registry.clear()
168 _finalizer_registry = {} variable190 _finalizer_registry[self._key] = self197 del _finalizer_registry[self._key]217 del _finalizer_registry[self._key]228 return self._key in _finalizer_registry257 if _finalizer_registry is None:271 items = [x for x in _finalizer_registry.items() if f(x)]283 _finalizer_registry.clear()
263 util._finalizer_registry.clear()
2112 self.registry_backup = util._finalizer_registry.copy()2113 util._finalizer_registry.clear()2116 self.assertFalse(util._finalizer_registry)2117 util._finalizer_registry.update(self.registry_backup)
4154 self.registry_backup = util._finalizer_registry.copy()4155 util._finalizer_registry.clear()4158 self.assertFalse(util._finalizer_registry)4159 util._finalizer_registry.update(self.registry_backup)