def __init__(self, host, service=None, mechanism=None, authorization_id=None,
                 callback=None, qops=QOP.all, mutual_auth=False, max_buffer=65536,
                 **mechanism_props):
        self.host = host
        self.service = service
        self.authorization_id = authorization_id
        self.mechanism = mechanism
        self.callback = callback
        self.qops = set(qops)
        self.mutual_auth = mutual_auth
        self.max_buffer = max_buffer

        self._mech_props = mechanism_props
        if self.mechanism is not None:
            mech_class = mech_mod.mechanisms[mechanism]
            self._chosen_mech = mech_class(self, **self._mech_props)
        else:
            self._chosen_mech = None
Find a shortest chain of references leading to obj.
dataset/ETHPy150Open thobbs/pure-sasl/puresasl/client.py/SASLClient.__init__--crossover with--dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/dep/objgraph.py/find_backref_chain