/external/python/cpython3/Lib/ |
D | pickle.py | 77 class PicklingError(PickleError): class 481 raise PicklingError("Pickler.__init__() was not called by " 584 raise PicklingError("Can't pickle %r object: %r" % 594 raise PicklingError("%s must return string or tuple" % reduce) 599 raise PicklingError("Tuple returned by %s must have " 618 raise PicklingError( 626 raise PicklingError("args from save_reduce() must be a tuple") 628 raise PicklingError("func from save_reduce() must be callable") 637 raise PicklingError("args[0] from {} args has no __new__" 640 raise PicklingError("args[0] from {} args has the wrong class" [all …]
|
/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() 790 PyErr_SetString(PicklingError, in get() 879 PyErr_SetString(PicklingError, in put2() 2105 PyErr_SetString(PicklingError, "class has no name"); in save_inst() 2224 cPickle_ErrFormat(PicklingError, in save_global() 2232 cPickle_ErrFormat(PicklingError, in save_global() 2240 cPickle_ErrFormat(PicklingError, in save_global() 2265 cPickle_ErrFormat(PicklingError, "Can't pickle %s: " in save_global() 2272 cPickle_ErrFormat(PicklingError, "Can't pickle %s: " in save_global() [all …]
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 143 PyObject *PicklingError; member 201 Py_CLEAR(st->PicklingError); in _Pickle_ClearState() 1737 PyErr_SetString(st->PicklingError, in memo_get() 1794 PyErr_SetString(st->PicklingError, in memo_put() 2523 PyErr_SetString(st->PicklingError, in save_picklebuffer() 2533 PyErr_SetString(st->PicklingError, in save_picklebuffer() 3629 PyErr_Format(st->PicklingError, in save_global() 3639 PyErr_Format(st->PicklingError, in save_global() 3646 PyErr_Format(st->PicklingError, in save_global() 3685 PyErr_Format(st->PicklingError, in save_global() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_dictviews.py | 219 self.assertRaises((TypeError, pickle.PicklingError), 221 self.assertRaises((TypeError, pickle.PicklingError), 223 self.assertRaises((TypeError, pickle.PicklingError),
|
D | pickletester.py | 1501 except (AttributeError, pickle.PicklingError, cPickle.PicklingError): 1505 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/cpython3/Lib/test/ |
D | test_dictviews.py | 303 self.assertRaises((TypeError, pickle.PicklingError), 305 self.assertRaises((TypeError, pickle.PicklingError), 307 self.assertRaises((TypeError, pickle.PicklingError),
|
D | test_concurrent_futures.py | 22 from pickle import PicklingError 1069 from pickle import PicklingError 1070 raise PicklingError("Error in pickle") 1128 self._check_crash(PicklingError, id, ErrorAtPickle()) 1167 self._check_crash(PicklingError, _return_instance, ErrorAtPickle) 1212 with self.assertRaises(PicklingError):
|
D | pickletester.py | 2239 except pickle.PicklingError: 2243 except pickle.PicklingError: 2670 with self.assertRaises((AttributeError, pickle.PicklingError)): 2676 with self.assertRaises((AttributeError, pickle.PicklingError)): 2681 with self.assertRaises((AttributeError, pickle.PicklingError)): 3192 self.assertRaises(pickle.PicklingError, BadPickler().dump, 0) 3301 self.assertRaises(pickle.PicklingError, self.dumps, non_ascii_str, 0) 3554 with self.assertRaises(pickle.PicklingError):
|
D | test_zlib.py | 707 with self.assertRaises((TypeError, pickle.PicklingError)): 712 with self.assertRaises((TypeError, pickle.PicklingError)):
|
D | test_generators.py | 161 with self.assertRaises((TypeError, pickle.PicklingError)):
|
D | test_coroutines.py | 2023 with self.assertRaises((TypeError, pickle.PicklingError)): 2029 with self.assertRaises((TypeError, pickle.PicklingError)):
|
D | test_enum.py | 10 from pickle import dumps, loads, PicklingError, HIGHEST_PROTOCOL 773 test_pickle_exception(self.assertRaises, PicklingError, BadPickle) 1446 test_pickle_exception(self.assertRaises, PicklingError, NEI)
|
/external/python/cpython2/Lib/multiprocessing/ |
D | managers.py | 56 from cPickle import PicklingError 58 from pickle import PicklingError
|
/external/python/enum34/enum/ |
D | test.py | 1 from pickle import dumps, loads, PicklingError, HIGHEST_PROTOCOL 650 self.assertRaises, PicklingError, self.NestedEnum.twigs, 672 test_pickle_exception(self.assertRaises, PicklingError, BadPickle) 1497 test_pickle_exception(self.assertRaises, PicklingError, NEI)
|
/external/python/cpython2/Lib/idlelib/ |
D | rpc.py | 325 except pickle.PicklingError:
|
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom_bindings_generator.py | 282 except (IOError, cPickle.PicklingError) as e:
|
/external/python/cpython3/Lib/idlelib/ |
D | rpc.py | 336 except pickle.PicklingError:
|
D | NEWS2x.txt | 337 - Fix typo in rpc.py, s/b "pickle.PicklingError" not "pickle.UnpicklingError".
|
/external/python/cpython3/Lib/zoneinfo/ |
D | _zoneinfo.py | 211 raise pickle.PicklingError(
|
/external/python/cpython3/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 1460 with self.assertRaises(pickle.PicklingError): 1482 with self.assertRaises(pickle.PicklingError):
|
/external/python/cpython3/Lib/logging/ |
D | __init__.py | 1727 raise pickle.PicklingError('logger cannot be pickled')
|
/external/python/cpython2/Doc/library/ |
D | pickle.rst | 227 .. exception:: PicklingError 359 Attempts to pickle unpicklable objects will raise the :exc:`PicklingError`
|
/external/python/cpython3/Doc/library/ |
D | pickle.rst | 278 .. exception:: PicklingError 516 Attempts to pickle unpicklable objects will raise the :exc:`PicklingError`
|