Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: 
Changeset: r76751:0c2d248dc5ec
Date: 2015-04-09 12:55 +0200
http://bitbucket.org/pypy/pypy/changeset/0c2d248dc5ec/

Log:    STORE_SUBSCR pops three things from the stack, not two

diff --git a/pypy/interpreter/astcompiler/assemble.py 
b/pypy/interpreter/astcompiler/assemble.py
--- a/pypy/interpreter/astcompiler/assemble.py
+++ b/pypy/interpreter/astcompiler/assemble.py
@@ -576,7 +576,7 @@
     ops.DELETE_SLICE+2: -2,
     ops.DELETE_SLICE+3: -3,
 
-    ops.STORE_SUBSCR: -2,
+    ops.STORE_SUBSCR: -3,
     ops.DELETE_SUBSCR: -2,
 
     ops.GET_ITER: 0,
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to