]> granicus.if.org Git - python/commit
Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until
authorGregory P. Smith <greg@mad-scientist.com>
Mon, 26 May 2008 20:22:14 +0000 (20:22 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Mon, 26 May 2008 20:22:14 +0000 (20:22 +0000)
commit4036fd4b752f744d455f592a83b4a1e36cd77a86
treeb8edac46244c6d057bebeb334bbb3db127ecdccf
parent3aa84a7f28659cfbed312e352775b32d2a58005b
Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until
the last reference to the Popen instance was dropped.  Adding explicit
close() calls fixes it.

Candidate for backport to release25-maint.
Lib/subprocess.py
Lib/test/test_subprocess.py