Brian Curtin <cur...@acm.org> added the comment: Attached is a patch against trunk r76325 which implements context manager support for fileinput/FileInput, with tests and doc change.
---------- keywords: +patch nosy: +brian.curtin Added file: http://bugs.python.org/file15355/issue1286.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1286> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com