@classdef.singleton_method("identical?", file="path", other="path")
    def method_identicalp(self, space, file, other):
        try:
            file_stat = os.stat(file)
            other_stat = os.stat(other)
        except __HOLE__:
            return space.w_false
        return space.newbool(file_stat.st_dev == other_stat.st_dev and
                file_stat.st_ino == other_stat.st_ino)
dataset/ETHPy150Open topazproject/topaz/topaz/objects/fileobject.py/W_FileObject.method_identicalp