[issue10461] Use with statement throughout the docs
report at bugs.python.org
Fri Mar 11 18:26:40 CET 2011
SilentGhost <ghost.adh at gmail.com> added the comment:
Éric, I'm not sure about the first atexit.rst hunk. I thought the purpose of that code was to except IOError when no file is found. I'm not entirely sure why in the simplest case infile.read() would raise IOError. I'd think that eli's patch (file19667) would suit better.
status: closed -> pending
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list