Home
last modified time | relevance | path

Searched refs:PickleError (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/
Dpickle.py58 class PickleError(Exception): class
62 class PicklingError(PickleError):
69 class UnpicklingError(PickleError):
/external/python/cpython3/Lib/
Dpickle.py73 class PickleError(Exception): class
77 class PicklingError(PickleError):
84 class UnpicklingError(PickleError):
1777 PickleError,
/external/python/cpython2/Modules/
DcPickle.c107 static PyObject *PickleError; variable
2744 if (res && PyErr_ExceptionMatches(PickleError)) { in save()
5948 PickleError = PyErr_NewException("cPickle.PickleError", NULL, t); in init_stuff()
5949 if (!PickleError) in init_stuff()
5955 PickleError, NULL); in init_stuff()
5976 PickleError, NULL))) in init_stuff()
5984 PickleError) < 0) in init_stuff()
/external/python/cpython3/Modules/
D_pickle.c142 PyObject *PickleError; member
200 Py_CLEAR(st->PickleError); in _Pickle_ClearState()
7969 Py_VISIT(st->PickleError); in pickle_traverse()
8036 st->PickleError = PyErr_NewException("_pickle.PickleError", NULL, NULL); in PyInit__pickle()
8037 if (st->PickleError == NULL) in PyInit__pickle()
8040 PyErr_NewException("_pickle.PicklingError", st->PickleError, NULL); in PyInit__pickle()
8044 PyErr_NewException("_pickle.UnpicklingError", st->PickleError, NULL); in PyInit__pickle()
8048 Py_INCREF(st->PickleError); in PyInit__pickle()
8049 if (PyModule_AddObject(m, "PickleError", st->PickleError) < 0) in PyInit__pickle()
/external/python/cpython3/Doc/library/
Dpickle.rst273 .. exception:: PickleError
281 It inherits :exc:`PickleError`.
289 corruption or a security violation. It inherits :exc:`PickleError`.
/external/python/cpython2/Doc/library/
Dpickle.rst221 .. exception:: PickleError
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1213 with self.assertRaises(pickle.PickleError) as _:
/external/python/cpython3/Lib/test/
Dpickletester.py2798 with self.assertRaises(pickle.PickleError):