[issue13332] execfile fixer produces code that does not close the file

Benjamin Peterson report at bugs.python.org
Thu Nov 3 21:30:55 CET 2011


Benjamin Peterson <benjamin at python.org> added the comment:

Or you could just explicitly write out the exec(compile()) in your 2.x code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13332>
_______________________________________


More information about the Python-bugs-list mailing list