def newer(new_ver, old_ver, strict=False):
    """Determines if the first version tuple is newer than the second.
    True if newer, False if older, None if difference is after specified version parts."""
    if old_ver == new_ver or old_ver + (0,) == new_ver:
        return False
    for n, o in zip(new_ver, old_ver):
        if not isinstance(n, int):
            o = str(o)
        if o < n:
            return True
        elif o > n:
            return False
    return not strict
def newer ( new_ver , old_ver , strict = False ) : if old_ver == new_ver or old_ver + ( 0 , ) == new_ver : return False for n , o in zip ( new_ver , old_ver ) : if not isinstance ( n , int ) : o = str ( o ) if o < n : return True elif o > n : return False return not strict
Determines if the first version tuple is newer than the second.
    True if newer, False if older, None if difference is after specified version parts.