[pypy-commit] pypy py3k: fix translation

pjenvey noreply at buildbot.pypy.org
Mon May 13 19:51:20 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r64038:111b6f1d63f4
Date: 2013-05-13 10:50 -0700
http://bitbucket.org/pypy/pypy/changeset/111b6f1d63f4/

Log:	fix translation

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -1395,7 +1395,8 @@
         return space.newtuple([w_new_inst, w_args, w_state])
 
     def descr_setstate(self, space, w_state):
-        self.operr = OperationError(*space.fixedview(w_state, 3))
+        w_type, w_value, w_tb = space.fixedview(w_state, 3)
+        self.operr = OperationError(w_type, w_value, w_tb)
 
 def source_as_str(space, w_source, funcname, what, flags):
     """Return source code as str0 with adjusted compiler flags


More information about the pypy-commit mailing list