(self)
| 1473 | dispatch[UNICODE[0]] = load_unicode |
| 1474 | |
| 1475 | def load_binunicode(self): |
| 1476 | len, = unpack('<I', self.read(4)) |
| 1477 | if len > maxsize: |
| 1478 | raise UnpicklingError("BINUNICODE exceeds system's maximum size " |
| 1479 | "of %d bytes" % maxsize) |
| 1480 | self.append(str(self.read(len), 'utf-8', 'surrogatepass')) |
| 1481 | dispatch[BINUNICODE[0]] = load_binunicode |
| 1482 | |
| 1483 | def load_binunicode8(self): |
nothing calls this directly
no test coverage detected