Searched refs:Pickler (Results 1 - 18 of 18) sorted by relevance

/external/python/cpython2/Lib/test/
H A Dtest_pickle.py55 p = pickle.Pickler(f, proto)
70 class PersPickler(pickle.Pickler):
91 pickler_class = pickle.Pickler
H A Dtest_cpickle.py90 p = cPickle.Pickler(f, proto)
118 p = cPickle.Pickler(proto)
147 p = cPickle.Pickler(f, proto)
199 pickler_class = cPickle.Pickler
H A Dpickletester.py1693 self.module.Pickler(f, -1)
1694 self.module.Pickler(f, protocol=-1)
1783 # Reset the Pickler and StringIO objects.
1795 # Verify that we can set the Pickler's memo attribute.
/external/python/cpython2/Lib/
H A Dshelve.py62 from cPickle import Pickler, Unpickler namespace
64 from pickle import Pickler, Unpickler namespace
131 p = Pickler(f, self._protocol)
H A Dpickle.py9 Pickler
37 __all__ = ["PickleError", "PicklingError", "UnpicklingError", "Pickler",
171 class Pickler: class in inherits:
230 # The Pickler memo is a dictionary mapping object ids to 2-tuples
234 # Pickler memo so that transient objects are kept alive during
592 # found a Pickler subclass in Zope3 that calls it, so it's not harmless
1376 Pickler(file, protocol).dump(obj)
1380 Pickler(file, protocol).dump(obj)
/external/python/cpython3/Doc/includes/
H A Ddbpickle.py11 class DBPickler(pickle.Pickler):
/external/python/cpython3/Tools/scripts/
H A Dfind_recursionlimit.py89 _pickle.Pickler(io.BytesIO(), protocol=-1).dump(l)
/external/python/cpython3/Lib/test/
H A Dtest_pickle.py145 pickler = _pickle.Pickler
149 pickler = _pickle.Pickler
153 pickler = _pickle.Pickler
157 pickler = _pickle.Pickler
165 pickler_class = _pickle.Pickler
178 pickler_class = pickle.Pickler
183 pickler_class = pickle.Pickler
193 p = _pickle.Pickler(io.BytesIO())
H A Dtest_pydoc.py867 self.assertEqual(self._get_summary_line(_pickle.Pickler.dump),
895 p = _pickle.Pickler(s)
897 "dump(obj, /) method of _pickle.Pickler instance")
H A Dtest_inspect.py767 self.assertFullArgSpecEquals(_pickle.Pickler.dump,
770 self.assertFullArgSpecEquals(_pickle.Pickler(io.BytesIO()).dump,
2001 test_unbound_method(_pickle.Pickler.dump)
2002 d = _pickle.Pickler(io.StringIO())
2638 self.assertEqual(str(inspect.signature(_pickle.Pickler)),
2641 class P(_pickle.Pickler): pass
2887 sig = MySignature.from_callable(_pickle.Pickler)
H A Dpickletester.py2569 pickle.Pickler(f, -1)
2570 pickle.Pickler(f, protocol=-1)
2573 # Test issue3664 (pickle can segfault from a badly initialized Pickler).
2575 class BadPickler(pickle.Pickler):
2683 # Reset the Pickler and BytesIO objects.
2695 # Verify that we can set the Pickler's memo attribute.
/external/python/cpython3/Lib/
H A Dshelve.py59 from pickle import Pickler, Unpickler namespace
123 p = Pickler(f, self._protocol)
H A Dpickle.py8 Pickler
39 __all__ = ["PickleError", "PicklingError", "UnpicklingError", "Pickler",
400 # Check whether Pickler was initialized correctly. This is
401 # only needed to mimic the behavior of _pickle.Pickler.dump().
403 raise PicklingError("Pickler.__init__() was not called by "
416 # The Pickler memo is a dictionary mapping object ids to 2-tuples
420 # Pickler memo so that transient objects are kept alive during
1566 Pickler,
1574 Pickler, Unpickler = _Pickler, _Unpickler
/external/python/cpython2/Lib/multiprocessing/
H A Dforking.py59 from pickle import Pickler namespace
60 class ForkingPickler(Pickler):
61 dispatch = Pickler.dispatch.copy()
/external/python/cpython2/Demo/pdist/
H A Dserver.py91 wp = pickle.Pickler(wf)
H A Dclient.py82 wp = pickle.Pickler(self._wf)
/external/python/cpython3/Lib/multiprocessing/
H A Dreduction.py30 # Pickler subclass
33 class ForkingPickler(pickle.Pickler):
34 '''Pickler subclass used by multiprocessing.'''
/external/python/cpython3/Lib/idlelib/
H A Drpc.py62 class CodePickler(pickle.Pickler):

Completed in 796 milliseconds