From 4e82fb99a0b5128abefaf433a56ab1fa48b9a848 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 17 Feb 2015 22:50:33 +0100 Subject: asyncio: BaseSubprocessTransport: repr() mentions when the child process is running --- Lib/asyncio/base_subprocess.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/asyncio/base_subprocess.py b/Lib/asyncio/base_subprocess.py index 5458ab1..f56873f 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: -- cgit v0.12