Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r47984:bd26d84b3e84
Date: 2011-10-12 22:19 +0200
http://bitbucket.org/pypy/pypy/changeset/bd26d84b3e84/

Log:    Another py3k syntax at applevel

diff --git a/pypy/module/__builtin__/app_io.py 
b/pypy/module/__builtin__/app_io.py
--- a/pypy/module/__builtin__/app_io.py
+++ b/pypy/module/__builtin__/app_io.py
@@ -25,7 +25,7 @@
         f.close()
     #Don't exec the source directly, as this loses the filename info
     co = compile(source.rstrip()+"\n", filename, 'exec')
-    exec co in glob, loc
+    exec(co, glob, loc)
 
 def raw_input(prompt=None):
     """raw_input([prompt]) -> string
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to