[issue7268] 2to3 execfile conversion changes behavior

Éric Araujo report at bugs.python.org
Fri Jul 9 18:44:07 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

Not sure if this merits a new bug report: The conversion currently promotes the open().read() anti-pattern, which is not guaranteed to release file handles as soon as possible in all VMs. Using a with block would fix that.

----------
nosy: +merwok

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


More information about the Python-bugs-list mailing list