New submission from Fabio Zadrozny fab...@users.sourceforge.net:
In 2to3, execfile(file, globals, locals) is translated to
exec(open(file).read(), globals, locals)
But that's not correct, as the actual file from the executed code gets
wrong with that.
The correct thing would be:
Benjamin Peterson musiccomposit...@gmail.com added the comment:
Fixed in r67900.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4717