MCPcopy Index your code
hub / github.com/RustPython/RustPython / UnpicklingError

Class UnpicklingError

Lib/pickle.py:83–92  ·  view source on GitHub ↗

This exception is raised when there is a problem unpickling an object, such as a security violation. Note that other exceptions may also be raised during unpickling, including (but not necessarily limited to) AttributeError, EOFError, ImportError, and IndexError.

Source from the content-addressed store, hash-verified

81 pass
82
83class UnpicklingError(PickleError):
84 """This exception is raised when there is a problem unpickling an object,
85 such as a security violation.
86
87 Note that other exceptions may also be raised during unpickling, including
88 (but not necessarily limited to) AttributeError, EOFError, ImportError,
89 and IndexError.
90
91 """
92 pass
93
94# An instance of _Stop is raised by Unpickler.load_stop() in response to
95# the STOP opcode, passing the object that is the result of unpickling.

Callers 15

readintoMethod · 0.85
readMethod · 0.85
readlineMethod · 0.85
load_frameMethod · 0.85
loadMethod · 0.85
persistent_loadMethod · 0.85
load_persidMethod · 0.85
load_long4Method · 0.85
load_stringMethod · 0.85
load_binstringMethod · 0.85
load_binbytesMethod · 0.85
load_binunicodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected