def filter_framework_frames(stack):
    """
    Returns a stack clean of framework frames
    """
    result = list()
    for frame in stack:
        if 'flow/core' not in frame[0]:
            result.append(frame)
    return result
