Author: Ronan Lamy <[email protected]>
Branch: expressions-2
Changeset: r74554:a1073aa369c8
Date: 2014-11-17 03:02 +0000
http://bitbucket.org/pypy/pypy/changeset/a1073aa369c8/
Log: op.assign is removable
diff --git a/rpython/translator/simplify.py b/rpython/translator/simplify.py
--- a/rpython/translator/simplify.py
+++ b/rpython/translator/simplify.py
@@ -434,7 +434,7 @@
# (they have no side effects, at least in R-Python)
CanRemove = {}
for _op in '''
- newtuple newlist newdict bool
+ newtuple newlist newdict bool assign
is_ id type issubtype repr str len hash getattr getitem
pos neg abs hex oct ord invert add sub mul
truediv floordiv div mod divmod pow lshift rshift and_ or_
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit