Author: Amaury Forgeot d'Arc <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to