Home | History | Annotate | Download | only in library

Lines Matching full:objects

19 references` to objects.
31 mappings holding large objects, where it's desired that a large object not be
34 For example, if you have a number of large binary image objects, you may wish to
36 images, or images to names, the image objects would remain alive just because
40 mappings that don't keep objects alive solely because they appear in the mapping
41 objects. If, for example, an image object is a value in a
56 Not all objects can be weakly referenced; those objects which can include class
58 unbound), sets, frozensets, file objects, :term:`generator`\s, type objects,
59 :class:`DBcursor` objects from the :mod:`bsddb` module, sockets, arrays, deques,
60 regular expression pattern objects, and code objects.
66 Added support for thread.lock, threading.Lock, and code objects.
111 the references are equal only if the reference objects are the same object.
122 with weak reference objects. The returned object will have a type of either
124 callable. Proxy objects are not :term:`hashable` regardless of the referent; this
137 Return a list of all weak reference and proxy objects which refer to *object*.
145 application without adding attributes to those objects. This can be especially
146 useful with objects that override attribute accesses.
156 :class:`WeakKeyDictionary` objects have the following additional methods. These
191 :class:`WeakValueDictionary` objects have the following additional methods.
193 methods of :class:`WeakKeyDictionary` objects.
220 The type object for weak references objects.
225 The type object for proxies of objects which are not callable.
230 The type object for proxies of callable objects.
235 Sequence containing all the type objects for proxies. This can make it simpler
253 .. _weakref-objects:
255 Weak Reference Objects
258 Weak reference objects have no attributes or methods, but do allow the referent
296 Specialized versions of :class:`ref` objects can be created through subclassing.
332 objects that it has seen before. The IDs of the objects can then be used in
333 other data structures without forcing the objects to remain alive, but the
334 objects can still be retrieved by ID if they do.