From: Victor Stinner Date: Tue, 17 Feb 2015 21:50:33 +0000 (+0100) Subject: asyncio: BaseSubprocessTransport: repr() mentions when the child process is X-Git-Tag: v3.5.0a2~127^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e82fb99a0b5128abefaf433a56ab1fa48b9a848;p=python asyncio: BaseSubprocessTransport: repr() mentions when the child process is running --- diff --git a/Lib/asyncio/base_subprocess.py b/Lib/asyncio/base_subprocess.py index 5458ab154c..f56873fbea 100644 --- a/Lib/asyncio/base_subprocess.py +++ b/Lib/asyncio/base_subprocess.py @@ -57,6 +57,8 @@ class BaseSubprocessTransport(transports.SubprocessTransport): info.append('pid=%s' % self._pid) if self._returncode is not None: info.append('returncode=%s' % self._returncode) + else: + info.append('running') stdin = self._pipes.get(0) if stdin is not None: