def replace_with_repr(plan):
    r = repr(plan)
    try:
        return eval(r)
    except (TypeError, __HOLE__, SyntaxError):
        print 'Error with repr {r} of plan {p}'.format(r=r, p=plan)
        raise
dataset/ETHPy150Open uwescience/raco/raco/replace_with_repr.py/replace_with_repr