def _handle_cmp(self, oid, other):
        # cmp() might enter recursive resonance... yet another workaround
        #return cmp(self._local_objects[oid], other)
        obj = self._local_objects[oid]
        try:
            return type(obj).__cmp__(obj, other)
        except (AttributeError, __HOLE__):
            return NotImplemented
dataset/ETHPy150Open sccn/SNAP/src/rpyc/core/protocol.py/Connection._handle_cmp