Home
last modified time | relevance | path

Searched refs:PicklingError (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/
Dpickle.py62 class PicklingError(PickleError): class
312 raise PicklingError("Can't pickle %r object: %r" %
322 raise PicklingError("%s must return string or tuple" % reduce)
327 raise PicklingError("Tuple returned by %s must have "
351 raise PicklingError("args from reduce() should be a tuple")
355 raise PicklingError("func from reduce should be callable")
390 raise PicklingError(
393 raise PicklingError(
752 raise PicklingError(
757 raise PicklingError(
/external/python/cpython2/Modules/
DcPickle.c108 static PyObject *PicklingError; variable
759 PyErr_SetString(PicklingError, "no int where int expected in memo"); in get()
2089 PyErr_SetString(PicklingError, "class has no name"); in save_inst()
2208 cPickle_ErrFormat(PicklingError, in save_global()
2216 cPickle_ErrFormat(PicklingError, in save_global()
2224 cPickle_ErrFormat(PicklingError, in save_global()
2249 cPickle_ErrFormat(PicklingError, "Can't pickle %s: " in save_global()
2256 cPickle_ErrFormat(PicklingError, "Can't pickle %s: " in save_global()
2337 PyErr_SetString(PicklingError, in save_pers()
2399 cPickle_ErrFormat(PicklingError, "tuple returned by " in save_reduce()
[all …]
/external/python/cpython2/Lib/test/
Dtest_dictviews.py204 self.assertRaises((TypeError, pickle.PicklingError),
206 self.assertRaises((TypeError, pickle.PicklingError),
208 self.assertRaises((TypeError, pickle.PicklingError),
Dpickletester.py1458 except (AttributeError, pickle.PicklingError, cPickle.PicklingError):
1462 except (AttributeError, pickle.PicklingError, cPickle.PicklingError):
Dtest_zlib.py582 with self.assertRaises((TypeError, pickle.PicklingError)):
587 with self.assertRaises((TypeError, pickle.PicklingError)):
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py56 from cPickle import PicklingError
58 from pickle import PicklingError
/external/python/cpython2/Lib/idlelib/
Drpc.py325 except pickle.PicklingError:
DNEWS.txt840 - Fix typo in rpc.py, s/b "pickle.PicklingError" not "pickle.UnpicklingError".
/external/python/cpython2/Doc/library/
Dpickle.rst227 .. exception:: PicklingError
359 Attempts to pickle unpicklable objects will raise the :exc:`PicklingError`