[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

Georg Brandl report at bugs.python.org
Mon Dec 28 09:46:32 CET 2009


Georg Brandl <georg at python.org> added the comment:

FWIW, for the sake of consistency I'm +1 on supporting the context
manager protocol on all file-like objects in the stdlib.

----------

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


More information about the Python-bugs-list mailing list