summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-02-17 21:50:33 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-02-17 21:50:33 (GMT)
commit4e82fb99a0b5128abefaf433a56ab1fa48b9a848 (patch)
treea808c461296cadcc354e1041ce9e573c911fba17 /Lib
parentdf0db49b1b8b08e7a17dd1358ad4f532a0f3151f (diff)
downloadcpython-4e82fb99a0b5128abefaf433a56ab1fa48b9a848.zip
cpython-4e82fb99a0b5128abefaf433a56ab1fa48b9a848.tar.gz
cpython-4e82fb99a0b5128abefaf433a56ab1fa48b9a848.tar.bz2
asyncio: BaseSubprocessTransport: repr() mentions when the child process is
running
Diffstat (limited to 'Lib')
-rw-r--r--Lib/asyncio/base_subprocess.py2
1 files changed, 2 insertions, 0 deletions
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: