Author: Raffael Tfirst <[email protected]>
Branch: py3.5
Changeset: r84269:07d590485a65
Date: 2016-05-06 17:13 +0200
http://bitbucket.org/pypy/pypy/changeset/07d590485a65/
Log: Add astbuilder test @=, remove mistake in pyopcode
diff --git a/pypy/interpreter/astcompiler/test/test_astbuilder.py
b/pypy/interpreter/astcompiler/test/test_astbuilder.py
--- a/pypy/interpreter/astcompiler/test/test_astbuilder.py
+++ b/pypy/interpreter/astcompiler/test/test_astbuilder.py
@@ -625,6 +625,7 @@
("/=", ast.Div),
("//=", ast.FloorDiv),
("%=", ast.Mod),
+ ("@=", ast.MatMul),
("<<=", ast.LShift),
(">>=", ast.RShift),
("&=", ast.BitAnd),
diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -592,7 +592,6 @@
INPLACE_MULTIPLY = binaryoperation("inplace_mul")
INPLACE_TRUE_DIVIDE = binaryoperation("inplace_truediv")
INPLACE_FLOOR_DIVIDE = binaryoperation("inplace_floordiv")
- INPLACE_FLOOR_DIVIDE = binaryoperation("inplace_matmul")
INPLACE_DIVIDE = binaryoperation("inplace_div")
# XXX INPLACE_DIVIDE must fall back to INPLACE_TRUE_DIVIDE with -Qnew
INPLACE_MODULO = binaryoperation("inplace_mod")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit