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

Method load_persid

Lib/pickle.py:1356–1362  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1354 dispatch[FRAME[0]] = load_frame
1355
1356 def load_persid(self):
1357 try:
1358 pid = self.readline()[:-1].decode("ascii")
1359 except UnicodeDecodeError:
1360 raise UnpicklingError(
1361 "persistent IDs in protocol 0 must be ASCII strings")
1362 self.append(self.persistent_load(pid))
1363 dispatch[PERSID[0]] = load_persid
1364
1365 def load_binpersid(self):

Callers

nothing calls this directly

Calls 5

persistent_loadMethod · 0.95
UnpicklingErrorClass · 0.85
decodeMethod · 0.45
readlineMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected