def cver_t(verstr):
    """Converts a version string into a tuple"""
    if verstr.startswith("b"):
        return tuple([0,0,0,0]+list(cver_t(verstr[1:])))
    return tuple([int(x) for x in verstr.split(".")])