aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2014-08-07 20:44:03 +0200
committerArmin Rigo <arigo@tunes.org>2014-08-07 20:44:03 +0200
commit7c0a9b7f6ff45d6da5c7fbc367129f08630090c4 (patch)
treee544b6ad77d191913a250d6a3f09d49d22ca09e4 /pypy/interpreter/pyopcode.py
parentAdd python27.lib automatically, so MSVC users need not specify the .lib (diff)
downloadpypy-7c0a9b7f6ff45d6da5c7fbc367129f08630090c4.tar.gz
pypy-7c0a9b7f6ff45d6da5c7fbc367129f08630090c4.tar.bz2
pypy-7c0a9b7f6ff45d6da5c7fbc367129f08630090c4.zip
Test and fix (the code in module/pypyjit was already doing that correctly)
Diffstat (limited to 'pypy/interpreter/pyopcode.py')
-rw-r--r--pypy/interpreter/pyopcode.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
index a642e4a866..84eb4d83d5 100644
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -61,6 +61,7 @@ class __extend__(pyframe.PyFrame):
while True:
next_instr = self.handle_bytecode(co_code, next_instr, ec)
except ExitFrame:
+ self.last_exception = None
return self.popvalue()
def handle_bytecode(self, co_code, next_instr, ec):