def readlines(self):
        """Read and return the list of all logical lines remaining in the
        current file."""
        lines = []
        while True:
            line = self.readline()
            if line is None:
                return lines
            lines.append(line)
Read and return the list of all logical lines remaining in the
        current file.
product/gradle-plugin/src/main/python/setuptools/_distutils/text_file.py