New submission from Éric Araujo <mer...@netwok.org>: Previous to 3.2, os.popen was made a context manager thanks to a private helper, os._wrap_close (contextlib.closing was maybe unavailable due to a bootstrapping issue). Now that subprocess.Popen directly implements the context manager protocol, this could be cleaned up.
---------- components: Library (Lib) keywords: easy messages: 134870 nosy: eric.araujo priority: normal severity: normal stage: needs patch status: open title: Simplify context manager in os.popen versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11965> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com