'Read multiple lines of text.
:returns: A list of 8-bit strings.'

def readlines(self):

    l = []
    while True:
        s = self.readline()
        if (not s):
            break
        l.append(s)
    return l
