'Compares two versions, knowing they\'re both numeric'

def _numeric_lt(self, other):

    for (a, b) in zip(self.version, other.version):
        if (a == b):
            continue
        elif (type(a) != type(b)):
            return (type(b) == int)
        else:
            return (a < b)
    return (len(self.version) < len(other.version))
