def ask_around(self, service_name, payload, operator=None):
        """Ask all handlers of a given service name, return list of answers.

        Handlers connected through the optionally given operator are skipped,
        so that partyline applications do not call themselves.
        """
        answers = []
        try:
            service_handlers = self.handlers[service_name]
        except __HOLE__:
            if not self.ignore_missing_services:
                raise NoSuchServiceName('No handler is registered for %r.' %
                                        repr(service_name))
            service_handlers = []
        for handler in service_handlers:
            if operator is not None and handler in operator.handlers:
                # Skip handlers on the same operator, ask *others* for answer.
                continue
            try:
                answers.append(handler(payload))
            except HighAndDry:
                continue
        return answers
dataset/ETHPy150Open rduplain/wsgi_party/wsgi_party.py/WSGIParty.ask_around