def __eq__(self, other):
        if isinstance(other, tuple):
            return tuple(self) == other
        elif isinstance(other, UNIXAddress):
            # First do the simple thing and check to see if the names are the
            # same. If not, and the paths exist, check to see if they point to
            # the same file.
            if self.name == other.name:
                return True
            else:
                try:
                    return os.path.samefile(self.name, other.name)
                except __HOLE__:
                    pass
        return False
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/address.py/UNIXAddress.__eq__