commit | 4e82fb99a0b5128abefaf433a56ab1fa48b9a848 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Feb 17 22:50:33 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Feb 17 22:50:33 2015 +0100 |
tree | a808c461296cadcc354e1041ce9e573c911fba17 | |
parent | df0db49b1b8b08e7a17dd1358ad4f532a0f3151f [diff] |
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 5458ab1..f56873f 100644 --- a/Lib/asyncio/base_subprocess.py +++ b/Lib/asyncio/base_subprocess.py
@@ -57,6 +57,8 @@ 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: