/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 | 84 class UnpicklingError(PickleError): class 279 raise UnpicklingError( 294 raise UnpicklingError( 307 raise UnpicklingError( 315 raise UnpicklingError( 1194 raise UnpicklingError("Unpickler.__init__() was not called by " 1224 raise UnpicklingError("unsupported persistent id encountered") 1246 raise UnpicklingError( 1308 raise UnpicklingError("LONG pickle has negative byte count") 1336 raise UnpicklingError("the STRING opcode argument must be quoted") [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_pickle.py | 45 truncated_errors = (pickle.UnpicklingError, EOFError, 76 bad_stack_errors = (pickle.UnpicklingError, IndexError) 77 truncated_errors = (pickle.UnpicklingError, EOFError, 219 bad_stack_errors = (pickle.UnpicklingError,) 220 truncated_errors = (pickle.UnpicklingError,)
|
D | pickletester.py | 1025 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 1032 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 1040 self.check_unpickling_error(pickle.UnpicklingError, b'g0\np0') 1041 self.check_unpickling_error(pickle.UnpicklingError, b'jens:') 1042 self.check_unpickling_error(pickle.UnpicklingError, b'hens:') 1061 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 1067 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 1073 self.check_unpickling_error((pickle.UnpicklingError, OverflowError), 1130 self.check_unpickling_error(pickle.UnpicklingError, p) 1181 error = (pickle.UnpicklingError, TypeError) [all …]
|
D | test_concurrent_futures.py | 1076 from pickle import UnpicklingError 1077 return _raise_error_ignore_stderr, (UnpicklingError, )
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 144 PyObject *UnpicklingError; member 202 Py_CLEAR(st->UnpicklingError); in _Pickle_ClearState() 524 PyErr_SetString(st->UnpicklingError, in Pdata_stack_underflow() 1225 PyErr_SetString(st->UnpicklingError, "pickle data was truncated"); in bad_readline() 1326 PyErr_SetString(st->UnpicklingError, in _Unpickler_ReadImpl() 5140 PyErr_SetString(st->UnpicklingError, "could not find MARK"); in marker() 5361 PyErr_SetString(st->UnpicklingError, in load_counted_long() 5450 PyErr_SetString(st->UnpicklingError, in load_string() 5492 PyErr_Format(st->UnpicklingError, in load_counted_binstring() 5584 PyErr_SetString(st->UnpicklingError, in load_next_buffer() [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/cpython3/Misc/NEWS.d/ |
D | 3.9.0b5.rst | 122 UnpicklingError instead of crashing.
|
D | 3.9.0a2.rst | 444 Raise pickle.UnpicklingError when loading an item from memo for invalid
|
D | 3.6.0b1.rst | 902 unpickler. UnpicklingError is now raised instead of AttributeError and
|
/external/python/cpython2/Lib/bsddb/ |
D | dbshelve.py | 251 except (EOFError, TypeError, cPickle.UnpicklingError):
|
/external/python/cpython3/Doc/library/ |
D | pickle.rst | 286 .. exception:: UnpicklingError 441 Raise an :exc:`UnpicklingError` by default. 445 :exc:`UnpicklingError` should be raised. 1094 raise pickle.UnpicklingError("global '%s.%s' is forbidden" % 1108 pickle.UnpicklingError: global 'os.system' is forbidden 1114 pickle.UnpicklingError: global 'builtins.eval' is forbidden
|
/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/libchrome/mojo/public/tools/bindings/ |
D | mojom_bindings_generator.py | 290 except (IOError, cPickle.UnpicklingError) as e:
|
/external/python/cpython3/Lib/idlelib/ |
D | rpc.py | 389 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
|