Searched refs:PicklingError (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Lib/ |
D | pickle.py | 62 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/ |
D | cPickle.c | 108 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/ |
D | test_dictviews.py | 204 self.assertRaises((TypeError, pickle.PicklingError), 206 self.assertRaises((TypeError, pickle.PicklingError), 208 self.assertRaises((TypeError, pickle.PicklingError),
|
D | pickletester.py | 1458 except (AttributeError, pickle.PicklingError, cPickle.PicklingError): 1462 except (AttributeError, pickle.PicklingError, cPickle.PicklingError):
|
D | test_zlib.py | 582 with self.assertRaises((TypeError, pickle.PicklingError)): 587 with self.assertRaises((TypeError, pickle.PicklingError)):
|
/external/python/cpython2/Lib/multiprocessing/ |
D | managers.py | 56 from cPickle import PicklingError 58 from pickle import PicklingError
|
/external/python/cpython2/Lib/idlelib/ |
D | rpc.py | 325 except pickle.PicklingError:
|
D | NEWS.txt | 840 - Fix typo in rpc.py, s/b "pickle.PicklingError" not "pickle.UnpicklingError".
|
/external/python/cpython2/Doc/library/ |
D | pickle.rst | 227 .. exception:: PicklingError 359 Attempts to pickle unpicklable objects will raise the :exc:`PicklingError`
|