/external/python/cpython3/Lib/test/ |
D | test_pickle.py | 35 Pickler = pickle._Pickler variable in PyPickleTests 123 def check(Pickler): argument 126 pickler = Pickler(f, proto) 129 pickler = Pickler(io.BytesIO()) 206 from _pickle import dump, dumps, load, loads, Pickler, Unpickler 214 pickler = _pickle.Pickler 218 pickler = _pickle.Pickler 222 pickler = _pickle.Pickler 226 pickler = _pickle.Pickler 234 pickler_class = _pickle.Pickler [all …]
|
D | test_pydoc.py | 964 self.assertEqual(self._get_summary_line(_pickle.Pickler.dump), 992 p = _pickle.Pickler(s)
|
D | test_inspect.py | 838 self.assertFullArgSpecEquals(_pickle.Pickler.dump, 841 self.assertFullArgSpecEquals(_pickle.Pickler(io.BytesIO()).dump, 2145 test_unbound_method(_pickle.Pickler.dump) 2146 d = _pickle.Pickler(io.StringIO()) 2792 self.assertEqual(str(inspect.signature(_pickle.Pickler)), 2795 class P(_pickle.Pickler): pass 3041 sig = MySignature.from_callable(_pickle.Pickler)
|
D | pickletester.py | 2748 self.Pickler(f, -1) 2749 self.Pickler(f, protocol=-1) 2754 class BadPickler(self.Pickler):
|
/external/python/cpython2/Lib/test/ |
D | test_pickle.py | 55 p = pickle.Pickler(f, proto) 70 class PersPickler(pickle.Pickler): 91 pickler_class = pickle.Pickler
|
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
|
D | pickletester.py | 1736 self.module.Pickler(f, -1) 1737 self.module.Pickler(f, protocol=-1)
|
/external/python/cpython2/Lib/ |
D | shelve.py | 62 from cPickle import Pickler, Unpickler 64 from pickle import Pickler, Unpickler 131 p = Pickler(f, self._protocol)
|
D | pickle.py | 171 class Pickler: class 1376 Pickler(file, protocol).dump(obj) 1380 Pickler(file, protocol).dump(obj)
|
/external/python/cpython3/Doc/library/ |
D | copyreg.rst | 41 :attr:`~pickle.Pickler.dispatch_table` attribute of a pickler 42 object or subclass of :class:`pickle.Pickler` can also be used for
|
D | pickle.rst | 168 you can create a :class:`Pickler` or an :class:`Unpickler` object, respectively. 177 :func:`dump` and :func:`dumps` as well as the :class:`Pickler` 193 This is equivalent to ``Pickler(file, protocol).dump(obj)``. 274 Error raised when an unpicklable object is encountered by :class:`Pickler`. 290 The :mod:`pickle` module exports two classes, :class:`Pickler` and 293 .. class:: Pickler(file, protocol=None, \*, fix_imports=True) 321 other value causes :class:`Pickler` to emit the returned value as a 343 object. Alternatively, if a subclass of :class:`Pickler` has a 356 self-referential objects, doing otherwise will cause :class:`Pickler` to 653 pickler and unpickler, :meth:`~Pickler.persistent_id` and [all …]
|
/external/python/cpython3/Lib/ |
D | shelve.py | 59 from pickle import Pickler, Unpickler 123 p = Pickler(f, self._protocol)
|
D | pickle.py | 1608 Pickler, 1616 Pickler, Unpickler = _Pickler, _Unpickler variable
|
/external/python/cpython2/Lib/multiprocessing/ |
D | forking.py | 59 from pickle import Pickler 60 class ForkingPickler(Pickler): 61 dispatch = Pickler.dispatch.copy()
|
/external/python/cpython3/Doc/includes/ |
D | dbpickle.py | 11 class DBPickler(pickle.Pickler):
|
/external/python/cpython3/Tools/scripts/ |
D | find_recursionlimit.py | 89 _pickle.Pickler(io.BytesIO(), protocol=-1).dump(l)
|
/external/python/cpython3/Doc/howto/ |
D | clinic.rst | 162 For my example I'm using ``_pickle.Pickler.dump()``. 229 _pickle.Pickler.dump 254 class _pickle.Pickler "PicklerObject *" "&Pickler_Type" 258 _pickle.Pickler.dump 312 class _pickle.Pickler "PicklerObject *" "&Pickler_Type" 316 _pickle.Pickler.dump 333 (``_pickle.Pickler.dump`` has neither, so our sample is unchanged.) 352 class _pickle.Pickler "PicklerObject *" "&Pickler_Type" 356 _pickle.Pickler.dump 379 class _pickle.Pickler "PicklerObject *" "&Pickler_Type" [all …]
|
/external/python/cpython2/Doc/library/ |
D | pickle.rst | 41 of the :func:`Pickler` and :func:`Unpickler` classes, because in :mod:`cPickle` 170 equivalent to ``Pickler(file, protocol).dump(obj)``. 240 The :mod:`pickle` module also exports two callables [#]_, :class:`Pickler` and 244 .. class:: Pickler(file[, protocol]) 259 :class:`Pickler` objects define one (or two) public methods: 289 :class:`Pickler` instance. These must then be matched to the same number of 301 binary mode or not, so it does not need a flag as in the :class:`Pickler` 478 When the :class:`Pickler` encounters an object of a type it knows nothing 574 :attr:`~Pickler.persistent_id` attribute of the pickler object and the 578 custom :func:`~Pickler.persistent_id` method that takes an object as an [all …]
|
/external/python/cpython2/Demo/pdist/ |
D | server.py | 91 wp = pickle.Pickler(wf)
|
D | client.py | 82 wp = pickle.Pickler(self._wf)
|
/external/python/cpython3/Lib/multiprocessing/ |
D | reduction.py | 33 class ForkingPickler(pickle.Pickler):
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b4.rst | 229 End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
|
D | 3.6.6rc1.rst | 389 End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
|
/external/python/cpython3/Lib/idlelib/ |
D | rpc.py | 66 class CodePickler(pickle.Pickler):
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.7rc1.rst | 795 Fixed pickle.Pickler to only fallback to its default pickling behaviour when 796 Pickler.persistent_id returns None, but not for any other false values.
|