Commits

Amaury Forgeot d'Arc committed bd26d84

Another py3k syntax at applevel

  • Participants
  • Parent commits be8493f
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/__builtin__/app_io.py

         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