/external/python/cpython2/Lib/test/ |
D | test_pickle.py | 28 bad_mark_errors = (IndexError, pickle.UnpicklingError, 30 truncated_errors = (pickle.UnpicklingError, EOFError, 39 bad_mark_errors = (IndexError, pickle.UnpicklingError, 41 truncated_errors = (pickle.UnpicklingError, EOFError,
|
D | test_cpickle.py | 54 bad_stack_errors = (cPickle.UnpicklingError,) 56 truncated_errors = (cPickle.UnpicklingError, EOFError, 70 bad_stack_errors = (cPickle.UnpicklingError,) 72 truncated_errors = (cPickle.UnpicklingError, EOFError,
|
/external/python/cpython3/Lib/ |
D | pickle.py | 75 class UnpicklingError(PickleError): class 261 raise UnpicklingError( 274 raise UnpicklingError( 282 raise UnpicklingError( 1068 raise UnpicklingError("Unpickler.__init__() was not called by " 1097 raise UnpicklingError("unsupported persistent id encountered") 1119 raise UnpicklingError( 1181 raise UnpicklingError("LONG pickle has negative byte count") 1209 raise UnpicklingError("the STRING opcode argument must be quoted") 1217 raise UnpicklingError("BINSTRING pickle has negative byte count") [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_pickle.py | 43 truncated_errors = (pickle.UnpicklingError, EOFError, 74 bad_stack_errors = (pickle.UnpicklingError, IndexError) 75 truncated_errors = (pickle.UnpicklingError, EOFError, 210 bad_stack_errors = (pickle.UnpicklingError,) 211 truncated_errors = (pickle.UnpicklingError,)
|
D | pickletester.py | 863 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 870 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 893 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 899 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 956 self.check_unpickling_error(pickle.UnpicklingError, p) 1762 self.assertRaises((TypeError, pickle.UnpicklingError), self.loads, b) 2761 self.assertRaises(pickle.UnpicklingError, BadUnpickler().load) 2830 self.assertRaises(pickle.UnpicklingError, self.loads, pickled)
|
D | test_concurrent_futures.py | 882 from pickle import UnpicklingError 883 return _raise_error, (UnpicklingError, )
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 134 PyObject *UnpicklingError; member 192 Py_CLEAR(st->UnpicklingError); in _Pickle_ClearState() 514 PyErr_SetString(st->UnpicklingError, in Pdata_stack_underflow() 1186 PyErr_SetString(st->UnpicklingError, "pickle data was truncated"); in bad_readline() 1286 PyErr_SetString(st->UnpicklingError, in _Unpickler_ReadImpl() 4744 PyErr_SetString(st->UnpicklingError, "could not find MARK"); in marker() 4965 PyErr_SetString(st->UnpicklingError, in load_counted_long() 5054 PyErr_SetString(st->UnpicklingError, in load_string() 5096 PyErr_Format(st->UnpicklingError, in load_counted_binstring() 5289 PyErr_SetString(st->UnpicklingError, "odd number of items for DICT"); in load_dict() [all …]
|
/external/python/cpython2/Modules/ |
D | cPickle.c | 110 static PyObject *UnpicklingError; variable 188 PyErr_SetString(UnpicklingError, "unpickling stack underflow"); in stackUnderflow() 248 PyErr_SetString(UnpicklingError, "bad pickle data"); \ 3356 PyErr_SetString(UnpicklingError, "Global and instance " in find_class() 3385 PyErr_SetString(UnpicklingError, "could not find MARK"); in marker() 3403 PyErr_SetString(UnpicklingError, "pickle data was truncated"); in bad_readline() 3585 PyErr_SetString(UnpicklingError, "LONG pickle has negative " in load_counted_long() 3722 PyErr_SetString(UnpicklingError, in load_binstring() 3794 PyErr_SetString(UnpicklingError, in load_binunicode() 3993 PyErr_SetString(UnpicklingError, "NEWOBJ expected an arg " in load_newobj() [all …]
|
/external/python/cpython3/Doc/includes/ |
D | dbpickle.py | 46 raise pickle.UnpicklingError("unsupported persistent object")
|
/external/python/cpython2/Lib/bsddb/ |
D | dbshelve.py | 251 except (EOFError, TypeError, cPickle.UnpicklingError):
|
/external/python/cpython3/Doc/library/ |
D | pickle.rst | 280 .. exception:: UnpicklingError 391 Raise an :exc:`UnpicklingError` by default. 395 :exc:`UnpicklingError` should be raised. 828 raise pickle.UnpicklingError("global '%s.%s' is forbidden" % 842 pickle.UnpicklingError: global 'os.system' is forbidden 848 pickle.UnpicklingError: global 'builtins.eval' is forbidden
|
/external/webrtc/third_party/gtest-parallel/ |
D | gtest-parallel | 202 except (EOFError, IOError, cPickle.UnpicklingError, zlib.error):
|
/external/libchrome/mojo/public/tools/bindings/ |
D | mojom_bindings_generator.py | 290 except (IOError, cPickle.UnpicklingError) as e:
|
/external/python/cpython2/Lib/idlelib/ |
D | rpc.py | 378 except pickle.UnpicklingError:
|
D | NEWS.txt | 840 - Fix typo in rpc.py, s/b "pickle.PicklingError" not "pickle.UnpicklingError".
|
/external/python/cpython3/Lib/idlelib/ |
D | rpc.py | 390 except pickle.UnpicklingError:
|
D | NEWS2x.txt | 337 - Fix typo in rpc.py, s/b "pickle.PicklingError" not "pickle.UnpicklingError".
|
/external/python/cpython2/Doc/library/ |
D | pickle.rst | 233 .. exception:: UnpicklingError 504 :exc:`UnpicklingError` will be raised in the unpickling environment. Note 630 raise pickle.UnpicklingError, 'Invalid persistent id' 684 unpickle instances will raise an :exc:`UnpicklingError`. If it is a function,
|
/external/python/cpython2/Lib/ |
D | pickle.py | 69 class UnpicklingError(PickleError): class
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0b1.rst | 902 unpickler. UnpicklingError is now raised instead of AttributeError and
|