Skip to content

Commit 4e82fb9

Browse files
committed
asyncio: BaseSubprocessTransport: repr() mentions when the child process is
running
1 parent df0db49 commit 4e82fb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/asyncio/base_subprocess.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ def __repr__(self):
5757
info.append('pid=%s' % self._pid)
5858
if self._returncode is not None:
5959
info.append('returncode=%s' % self._returncode)
60+
else:
61+
info.append('running')
6062

6163
stdin = self._pipes.get(0)
6264
if stdin is not None:

0 commit comments

Comments
 (0)