def accept(self):
        # XXX can return either an address pair or None
        try:
            conn, addr = self.socket.accept()
        except __HOLE__:
            return None
        except socket.error as why:
            if why.args[0] in (EWOULDBLOCK, ECONNABORTED, EAGAIN):
                return None
            else:
                raise
        else:
            return conn, addr
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/asyncore.py/dispatcher.accept