Lines Matching refs:alive
25 A weak reference to an object is not enough to keep the object alive: when the
33 kept alive solely because it appears in a cache or mapping.
37 images, or images to names, the image objects would remain alive just because
41 mappings that don't keep objects alive solely because they appear in the mapping
59 remains alive until the object is collected.
99 calling the reference object if the referent is still alive; if the referent is
100 no longer alive, calling the reference object will cause :const:`None` to be
102 weakref object is still alive, the callback will be called when the object is
120 are still alive, two references have the same equality relationship as their
130 no longer alive then this attribute will have value ``None``.
245 A finalizer is considered *alive* until it is called (either explicitly
266 If *self* is alive then mark it as dead and return the result of
272 If *self* is alive then mark it as dead and return the tuple
278 If *self* is alive then return the tuple ``(obj, func, args,
281 .. attribute:: alive
283 Property which is true if the finalizer is alive, false otherwise.
412 other data structures without forcing the objects to remain alive, but the
460 >>> assert f.alive
463 >>> assert not f.alive
476 >>> assert not f.alive
483 is still alive. For instance
548 return not self._finalizer.alive