

def compatible(self, other):
    if (not isinstance(other, Version)):
        other = Version(other)
    for (v1, v2) in zip(self.as_list, other.as_list):
        if ((v1 in ['X', 'Y', 'Z']) or (v2 in ['X', 'Y', 'Z'])):
            return True
        if (v1 != v1):
            return False
    return True

dataset/ETHPy150Open conan-io/conan/conans/model/version.py Version.compatible/VarMisuse@90/108 `v2`->`v1`