def _split_equals(item):
    """
    Split a 'name=value' string in a (name, value) tuple.
    :param item: the string to be split, in a 'name=value' format.
    :return: a (name, value) tuple
    """
    sep_idx = item.index("=")
    return item[:sep_idx], item[sep_idx + 1:]