]> granicus.if.org Git - python/commit
Fix #10554. Added context manager support to Popen objects.
authorBrian Curtin <brian.curtin@gmail.com>
Fri, 3 Dec 2010 02:46:02 +0000 (02:46 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Fri, 3 Dec 2010 02:46:02 +0000 (02:46 +0000)
commit79cdb661f5a6cf8bba07aa50f4451f6c409bb067
tree951cc547f5023ab2965b790fe01617e19952d3cf
parent2d93e6ee637f3ec62114919835a32ed009b99a0b
Fix #10554. Added context manager support to Popen objects.

Added a few common Popen uses to the tests like we've done for a few other
instances of adding context managers. Eventually the entire test suite
could be converted to use the context manager format.
Doc/library/subprocess.rst
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS