def buncher(line_class, dictionaries):
    """
    Turn an iterable of dictionaries into an iterable of Python objects that
    represent log lines.
    """

    return [line_class(dictionary) for dictionary in dictionaries]