Internal: read lines until EOF.
(self)
| 735 | self.file.write(line.decode(self.encoding, self.errors)) |
| 736 | |
| 737 | def read_lines_to_eof(self): |
| 738 | """Internal: read lines until EOF.""" |
| 739 | while 1: |
| 740 | line = self.fp.readline(1<<16) # bytes |
| 741 | self.bytes_read += len(line) |
| 742 | if not line: |
| 743 | self.done = -1 |
| 744 | break |
| 745 | self.__write(line) |
| 746 | |
| 747 | def read_lines_to_outerboundary(self): |
| 748 | """Internal: read lines until outerboundary. |
no test coverage detected