Home
last modified time | relevance | path

Searched refs:unpickler (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_datetime.py19 pickle_choices = [(pickler, unpickler, proto)
21 for unpickler in pickle, cPickle
105 for pickler, unpickler, proto in pickle_choices:
107 derived = unpickler.loads(green)
118 for pickler, unpickler, proto in pickle_choices:
120 derived = unpickler.loads(green)
320 for pickler, unpickler, proto in pickle_choices:
322 derived = unpickler.loads(green)
967 for pickler, unpickler, proto in pickle_choices:
969 derived = unpickler.loads(green)
[all …]
Dpickletester.py1828 unpickler = self.unpickler_class(cStringIO.StringIO(first_pickled))
1829 unpickled_data1 = unpickler.load()
1834 primed.memo = unpickler.memo
1858 unpickler = self.unpickler_class(f)
1859 self.assertEqual(unpickler.load(), data1)
1865 self.assertEqual(unpickler.load(), data2)
1877 unpickler = self.unpickler_class(f)
1881 self.assertEqual(unpickler.load(), data1)
1884 self.assertRaises(EOFError, unpickler.load)
1903 unpickler = self.unpickler_class(f)
[all …]
/external/python/cpython2/Doc/library/
Dpickle.rst142 an unpickler, then you call the unpickler's :meth:`load` method. The
403 between the pickler/unpickler and the objects that are being serialized. This
570 functions on the pickler and unpickler. [#]_
574 :attr:`~Unpickler.persistent_load` attribute of the unpickler object.
581 along with a marker so that the unpickler will recognize the string as a
584 To unpickle external objects, the unpickler must have a custom
636 In the :mod:`cPickle` module, the unpickler's :attr:`~Unpickler.persistent_load`
637 attribute can also be set to a Python list, in which case, when the unpickler
662 your unpickler. Unfortunately, exactly how you do this is different depending
671 finds to the unpickler's stack. Later on, this class will be assigned to the
[all …]
/external/python/cpython2/Modules/
DcPickle.c5766 Unpicklerobject *unpickler = 0; in cpm_load() local
5769 if (!( unpickler = newUnpicklerobject(ob))) in cpm_load()
5772 res = load(unpickler); in cpm_load()
5775 Py_XDECREF(unpickler); in cpm_load()
5786 Unpicklerobject *unpickler = 0; in cpm_loads() local
5794 if (!( unpickler = newUnpicklerobject(file))) in cpm_loads()
5797 res = load(unpickler); in cpm_loads()
5801 Py_XDECREF(unpickler); in cpm_loads()
/external/python/cpython2/Misc/
DNEWS646 - Issue #23914: Fixed SystemError raised by CPickle unpickler on broken data.
DHISTORY4733 completely. The undocumented pickler and unpickler functions no