Lines Matching refs:pickled
129 non-Python programs may not be able to reconstruct pickled Python objects.
133 :doc:`compress <archiving>` pickled data.
218 Write the pickled representation of the object *obj* to the open
230 Return the pickled representation of the object *obj* as a :class:`bytes` object,
241 Read the pickled representation of an object from the open :term:`file object`
246 protocol argument is needed. Bytes past the pickled representation
257 Return the reconstituted object hierarchy of the pickled representation
261 protocol argument is needed. Bytes past the pickled representation
284 pickled.
333 Write the pickled representation of *obj* to the open file object given in
340 If :meth:`persistent_id` returns ``None``, *obj* is pickled as usual. Any
412 pickle how to decode 8-bit string instances pickled by Python 2;
417 :class:`~datetime.time` pickled by Python 2.
434 Read the pickled representation of an object from the open file object
436 specified therein. Bytes past the pickled representation of the object
492 What can be pickled and unpickled?
495 The following types can be pickled:
523 Note that functions (built-in and user-defined) are pickled by "fully qualified"
525 pickled, along with the name of the module the function is defined in. Neither
526 the function's code, nor any of its function attributes are pickled. Thus the
530 Similarly, classes are pickled by named reference, so the same restrictions in
532 pickled, so in the following example the class attribute ``attr`` is not
543 Similarly, when class instances are pickled, their class's code and data are not
544 pickled along with them. Only the instance data are pickled. This is done on
560 customize, and control how class instances are pickled and unpickled.
614 Classes can further influence how their instances are pickled; if the class
616 is pickled as the contents for the instance, instead of the contents of the
618 instance's :attr:`~object.__dict__` is pickled as usual.
625 object to be a dictionary. Otherwise, the pickled state must be a dictionary
734 notion of a reference to an object outside the pickled data stream. Such
811 :class:`TextReader` instance is pickled, all attributes *except* the file object
947 The large data objects to be pickled must implement a :meth:`__reduce_ex__`
1155 The following example reads the resulting pickled data. ::
1175 Tools for working with and analyzing pickled data.
1191 .. [#] This is why :keyword:`lambda` functions cannot be pickled: all