

def _recv_loop(self):
    buf = ''
    while True:
        data = self._socket.recv(512)
        buf += data
        pos = buf.find('\r\n')
        while (pos >= 0):
            line = buf[0:pos]
            self._recv_queue.put(self)
            buf = buf[(pos + 2):]
            pos = buf.find('\r\n')

dataset/ETHPy150Open gwik/geventirc/lib/geventirc/irc.py Client._recv_loop/VarMisuse@67/79 `line`->`self`