Home
last modified time | relevance | path

Searched refs:Pickler (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_pickle.py35 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 …]
Dtest_pydoc.py964 self.assertEqual(self._get_summary_line(_pickle.Pickler.dump),
992 p = _pickle.Pickler(s)
Dtest_inspect.py838 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)
Dpickletester.py2748 self.Pickler(f, -1)
2749 self.Pickler(f, protocol=-1)
2754 class BadPickler(self.Pickler):
/external/python/cpython2/Lib/test/
Dtest_pickle.py55 p = pickle.Pickler(f, proto)
70 class PersPickler(pickle.Pickler):
91 pickler_class = pickle.Pickler
Dtest_cpickle.py90 p = cPickle.Pickler(f, proto)
118 p = cPickle.Pickler(proto)
147 p = cPickle.Pickler(f, proto)
199 pickler_class = cPickle.Pickler
Dpickletester.py1736 self.module.Pickler(f, -1)
1737 self.module.Pickler(f, protocol=-1)
/external/python/cpython2/Lib/
Dshelve.py62 from cPickle import Pickler, Unpickler
64 from pickle import Pickler, Unpickler
131 p = Pickler(f, self._protocol)
Dpickle.py171 class Pickler: class
1376 Pickler(file, protocol).dump(obj)
1380 Pickler(file, protocol).dump(obj)
/external/python/cpython3/Doc/library/
Dcopyreg.rst41 :attr:`~pickle.Pickler.dispatch_table` attribute of a pickler
42 object or subclass of :class:`pickle.Pickler` can also be used for
Dpickle.rst168 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/
Dshelve.py59 from pickle import Pickler, Unpickler
123 p = Pickler(f, self._protocol)
Dpickle.py1608 Pickler,
1616 Pickler, Unpickler = _Pickler, _Unpickler variable
/external/python/cpython2/Lib/multiprocessing/
Dforking.py59 from pickle import Pickler
60 class ForkingPickler(Pickler):
61 dispatch = Pickler.dispatch.copy()
/external/python/cpython3/Doc/includes/
Ddbpickle.py11 class DBPickler(pickle.Pickler):
/external/python/cpython3/Tools/scripts/
Dfind_recursionlimit.py89 _pickle.Pickler(io.BytesIO(), protocol=-1).dump(l)
/external/python/cpython3/Doc/howto/
Dclinic.rst162 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/
Dpickle.rst41 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/
Dserver.py91 wp = pickle.Pickler(wf)
Dclient.py82 wp = pickle.Pickler(self._wf)
/external/python/cpython3/Lib/multiprocessing/
Dreduction.py33 class ForkingPickler(pickle.Pickler):
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b4.rst229 End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
D3.6.6rc1.rst389 End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
/external/python/cpython3/Lib/idlelib/
Drpc.py66 class CodePickler(pickle.Pickler):
/external/python/cpython2/Misc/NEWS.d/
D2.7.7rc1.rst795 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.

12