[Python-checkins] cpython (3.4): asyncio: BaseSubprocessTransport: repr() mentions when the child process is

victor.stinner python-checkins at python.org
Tue Feb 17 23:14:21 CET 2015


https://hg.python.org/cpython/rev/0f9da9410914
changeset: 94663:0f9da9410914
branch: 3.4
parent: 94661:c8d08de14030
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Feb 17 22:50:33 2015 +0100
summary:
 asyncio: BaseSubprocessTransport: repr() mentions when the child process is
running
files:
 Lib/asyncio/base_subprocess.py | 2 ++
 1 files changed, 2 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
@@ -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:
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /