def readlines(self, sizehint=None, keepends=True):
data = self.read()<EOL>return data.splitlines(keepends)<EOL>
Read all lines available on the input stream
            and return them as list of lines.

            Line breaks are implemented using the codec's decoder
            method and are included in the list entries.

            sizehint, if given, is ignored since there is no efficient
            way to finding the true end-of-line.