]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
asyncio: Fix repr(BaseSubprocessTransport) if it didn't start yet
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 10 Mar 2015 15:32:29 +0000 (16:32 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 10 Mar 2015 15:32:29 +0000 (16:32 +0100)
commit7a82afee70425782d27f4ed2c6d0bad3aeb91f09
tree0d0abb6c20d479aaa661a2d64e165cce37f60922
parent84c717dd9ed154fd4a2c342c228e707ecde33d4e
asyncio: Fix repr(BaseSubprocessTransport) if it didn't start yet

Replace "running" with "not started" and don't show the pid if the subprocess
didn't start yet.
Lib/asyncio/base_subprocess.py