code: def read_very_lazy(self):
          
          buf = self.cookedq.getvalue()
          self.cookedq.seek(0)
          self.cookedq.truncate()
          if not buf and self.eof and not self.rawq:
              raise EOFError('telnet connection closed')
          return buf
docs: 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.