Author: [email protected]
Branch: py3.5-raffael_t
Changeset: r83942:20517040bd6a
Date: 2016-03-22 16:07 +0100
http://bitbucket.org/pypy/pypy/changeset/20517040bd6a/

Log:    Add missing opcodes to 3.5 lib, Fix error mat_mul -> matrix_multiply

diff --git a/pypy/interpreter/astcompiler/codegen.py 
b/pypy/interpreter/astcompiler/codegen.py
--- a/pypy/interpreter/astcompiler/codegen.py
+++ b/pypy/interpreter/astcompiler/codegen.py
@@ -66,7 +66,7 @@
     ast.BitAnd: ops.BINARY_AND,
     ast.BitXor: ops.BINARY_XOR,
     ast.FloorDiv: ops.BINARY_FLOOR_DIVIDE,
-    ast.MatMul: ops.BINARY_MAT_MUL
+    ast.MatMul: ops.BINARY_MATRIX_MULTIPLY
 })
 
 inplace_operations = misc.dict_to_switch({
@@ -82,7 +82,7 @@
     ast.BitAnd: ops.INPLACE_AND,
     ast.BitXor: ops.INPLACE_XOR,
     ast.FloorDiv: ops.INPLACE_FLOOR_DIVIDE,
-    ast.MatMul: ops.INPLACE_MAT_MUL
+    ast.MatMul: ops.INPLACE_MATRIX_MULTIPLY
 })
 
 compare_operations = misc.dict_to_switch({
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to