[Python-checkins] cpython (merge 3.4 -> default): Merge 3.4 (asyncio)
victor.stinner
python-checkins at python.org
Thu Jan 29 02:16:42 CET 2015
https://hg.python.org/cpython/rev/fee78636a3b1
changeset: 94365:fee78636a3b1
parent: 94363:630e128b85ed
parent: 94364:44f90017eee3
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jan 29 02:15:35 2015 +0100
summary:
Merge 3.4 (asyncio)
files:
Lib/asyncio/base_subprocess.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/asyncio/base_subprocess.py b/Lib/asyncio/base_subprocess.py
--- a/Lib/asyncio/base_subprocess.py
+++ b/Lib/asyncio/base_subprocess.py
@@ -117,12 +117,15 @@
proc.stderr.close()
if proc.stdin:
proc.stdin.close()
+
try:
proc.kill()
except ProcessLookupError:
pass
self._returncode = proc.wait()
+ self.close()
+
@coroutine
def _post_init(self):
try:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list