Author: William ML Leslie <william.leslie....@gmail.com> Branch: inline-taskengine Changeset: r89719:072b29f6ce76 Date: 2017-01-24 18:50 +1100 http://bitbucket.org/pypy/pypy/changeset/072b29f6ce76/
Log: Remove unused attributes diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py --- a/rpython/translator/driver.py +++ b/rpython/translator/driver.py @@ -17,17 +17,13 @@ log = AnsiLogger("translation") -def taskdef(deps, title, new_state=None, expected_states=[], - idemp=False, earlycheck=None): +def taskdef(deps, title, earlycheck=None): def decorator(taskfunc): name = taskfunc.__name__ assert name.startswith('task_') taskfunc.task_name = name[len('task_'):] taskfunc.task_deps = deps taskfunc.task_title = title - taskfunc.task_newstate = None - taskfunc.task_expected_states = expected_states - taskfunc.task_idempotent = idemp taskfunc.task_earlycheck = earlycheck return taskfunc return decorator _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit