/external/python/cpython2/Lib/test/ |
H A D | test_pickle.py | 55 p = pickle.Pickler(f, proto) 70 class PersPickler(pickle.Pickler): 91 pickler_class = pickle.Pickler
|
H A D | test_cpickle.py | 90 p = cPickle.Pickler(f, proto) 118 p = cPickle.Pickler(proto) 147 p = cPickle.Pickler(f, proto) 199 pickler_class = cPickle.Pickler
|
H A D | pickletester.py | 1693 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 D | shelve.py | 62 from cPickle import Pickler, Unpickler namespace 64 from pickle import Pickler, Unpickler namespace 131 p = Pickler(f, self._protocol)
|
H A D | pickle.py | 9 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 D | dbpickle.py | 11 class DBPickler(pickle.Pickler):
|
/external/python/cpython3/Tools/scripts/ |
H A D | find_recursionlimit.py | 89 _pickle.Pickler(io.BytesIO(), protocol=-1).dump(l)
|
/external/python/cpython3/Lib/test/ |
H A D | test_pickle.py | 145 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 D | test_pydoc.py | 867 self.assertEqual(self._get_summary_line(_pickle.Pickler.dump), 895 p = _pickle.Pickler(s) 897 "dump(obj, /) method of _pickle.Pickler instance")
|
H A D | test_inspect.py | 767 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 D | pickletester.py | 2569 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 D | shelve.py | 59 from pickle import Pickler, Unpickler namespace 123 p = Pickler(f, self._protocol)
|
H A D | pickle.py | 8 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 D | forking.py | 59 from pickle import Pickler namespace 60 class ForkingPickler(Pickler): 61 dispatch = Pickler.dispatch.copy()
|
/external/python/cpython2/Demo/pdist/ |
H A D | server.py | 91 wp = pickle.Pickler(wf)
|
H A D | client.py | 82 wp = pickle.Pickler(self._wf)
|
/external/python/cpython3/Lib/multiprocessing/ |
H A D | reduction.py | 30 # Pickler subclass 33 class ForkingPickler(pickle.Pickler): 34 '''Pickler subclass used by multiprocessing.'''
|
/external/python/cpython3/Lib/idlelib/ |
H A D | rpc.py | 62 class CodePickler(pickle.Pickler):
|