[issue7944] Use the 'with' statement in conjunction with 'open' throughout test modules

Brian Curtin report at bugs.python.org
Sat Feb 20 16:34:47 CET 2010


Brian Curtin <curtin at acm.org> added the comment:

Does anyone prefer if this should be done on a patch-per-module basis, or just throw together one huge change? 

Also, I've found a few places where context managers aren't supported where they probably should be, so I'll spin off separate issues for those.

----------

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


More information about the Python-bugs-list mailing list