MCPcopy Index your code
hub / github.com/python/cpython / UnpicklingError

Class UnpicklingError

Lib/pickle.py:82–91  ·  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

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…