'Return any data available in the cooked queue (very lazy).
Raise EOFError if connection closed and no data available.
Return \'\' if no cooked data available otherwise.  Don\'t block.'

def read_very_lazy(self):

    buf = self.cookedq
    self.cookedq = ''
    if ((not buf) and self.eof and (not self.rawq)):
        raise EOFError, 'telnet    connection    closed'
    return buf
