def parse_entry(entry):
    """
    Parse entry value and return int, float, str, or bool.
    Return None if the value is '='.
    """
    if entry[0] == '=':
        return None
    if entry[0].isdigit():  # int or float
        if '.' in entry or 'e' in entry:  # float
            return float(entry)
        else:
            return int(entry)
    elif entry in ('True','False'):  # bool
        return bool(entry)
    else:  # str
        return entry
    raise ValueError('entry seems wrong: ',entry)