

def server(self, evt, serv):
    serv.listen(5)
    evt.set()
    try:
        (conn, addr) = serv.accept()
        conn.send(b'+ Hola mundo\n')
        conn.close()
    except socket.timeout:
        pass
    finally:
        serv.close()

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_poplib.py TestTimeouts.server/original