def CompareStat(tup1, tup2):
 if (tup1.st_ino != tup2.st_ino):
  return False
 if (tup1.st_size != tup2.st_size):
  return False
 if (tup1.st_mtime != tup2.st_mtime):
  return False
 if (tup1.st_ctime != tup2.st_ctime):
  return False
 return True

def CompareStat ( tup1 , tup2 ) : if ( tup1 . st_ino != tup2 . st_ino ) : return False if ( tup1 . st_size != tup2 . st_size ) : return False if ( tup1 . st_mtime != tup2 . st_mtime ) : return False if ( tup1 . st_ctime != tup2 . st_ctime ) : return False return True
test equality of two stat-tuples .