Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r89018:3840ecbe977d
Date: 2016-12-12 13:51 +0100
http://bitbucket.org/pypy/pypy/changeset/3840ecbe977d/

Log:    fix for 3a45764f6ee1

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -1154,6 +1154,7 @@
             if not e.match(self.space, self.space.w_StopIteration):
                 raise
             # iterator exhausted
+            self.space.getexecutioncontext().exception_trace(self, e)
             self.popvalue()
             next_instr += jumpby
         else:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to