[pypy-commit] pypy inline-taskengine: Remove unused attributes
william_ml_leslie
pypy.commits at gmail.com
Tue Jan 24 02:56:46 EST 2017
Author: William ML Leslie <william.leslie.ttg at 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
More information about the pypy-commit
mailing list