Author: Raffael Tfirst <[email protected]>
Branch: py3.5
Changeset: r86289:6cf3401c7f36
Date: 2016-08-18 20:44 +0200
http://bitbucket.org/pypy/pypy/changeset/6cf3401c7f36/
Log: Change POP_EXCEPT back to -1
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
@@ -609,7 +609,7 @@
ops.WITH_CLEANUP_FINISH: -2,
ops.LOAD_BUILD_CLASS: 1,
ops.POP_BLOCK: 0,
- ops.POP_EXCEPT: -2,
+ ops.POP_EXCEPT: -1,
ops.END_FINALLY: -4, # assume always 4: we pretend that SETUP_FINALLY
# pushes 4. In truth, it would only push 1 and
# the corresponding END_FINALLY only pops 1.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit