(self)
| 1499 | dispatch[UNICODE[0]] = load_unicode |
| 1500 | |
| 1501 | def load_binunicode(self): |
| 1502 | len, = unpack('<I', self.read(4)) |
| 1503 | if len > maxsize: |
| 1504 | raise UnpicklingError("BINUNICODE exceeds system's maximum size " |
| 1505 | "of %d bytes" % maxsize) |
| 1506 | self.append(str(self.read(len), 'utf-8', 'surrogatepass')) |
| 1507 | dispatch[BINUNICODE[0]] = load_binunicode |
| 1508 | |
| 1509 | def load_binunicode8(self): |
nothing calls this directly
no test coverage detected