[issue13332] execfile fixer produces code that does not close the file
Sven Marnach
report at bugs.python.org
Thu Nov 3 14:11:18 CET 2011
Sven Marnach <sven at marnach.net> added the comment:
@Petri: Yes, that's what the BaseFix.new_name() method is for.
@Antoine: I thought about this, though I don't think it is very common to call execfile() as part of an expression. The whole statement containing the function call would need to be wrapped.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13332>
_______________________________________
More information about the Python-bugs-list
mailing list