[pypy-commit] pypy py3.5: Change POP_EXCEPT back to -1
raffael_t
pypy.commits at gmail.com
Thu Aug 18 14:45:05 EDT 2016
Author: Raffael Tfirst <raffael.tfirst at gmail.com>
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.
More information about the pypy-commit
mailing list