[pypy-commit] pypy py3k: It works much better this way

amauryfa noreply at buildbot.pypy.org
Thu Oct 13 00:01:37 CEST 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r48003:fd4678cd5916
Date: 2011-10-13 00:01 +0200
http://bitbucket.org/pypy/pypy/changeset/fd4678cd5916/

Log:	It works much better this way

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -514,7 +514,7 @@
     def STORE_LOCALS(self, oparg, next_instr):
         self.w_locals = self.popvalue()
 
-    def exec_(self, w_prog, w_locals, w_globals):
+    def exec_(self, w_prog, w_globals, w_locals):
         """The ___builtin__.exec function."""
         ec = self.space.getexecutioncontext()
         flags = ec.compiler.getcodeflags(self.pycode)


More information about the pypy-commit mailing list