diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-09 01:51:40 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-09 01:51:40 (GMT) |
commit | 0c3949c963c9f39095f85c5ec24d0f958e915ae9 (patch) | |
tree | a16ce129bb19d0494e3941f2bb02c6deaab7ec50 /Lib/asyncio | |
parent | 313f829ce8f7160ea25bfd6f14ea0ac37264e0ae (diff) | |
download | cpython-0c3949c963c9f39095f85c5ec24d0f958e915ae9.zip cpython-0c3949c963c9f39095f85c5ec24d0f958e915ae9.tar.gz cpython-0c3949c963c9f39095f85c5ec24d0f958e915ae9.tar.bz2 |
asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent
Process and Popen objects
Diffstat (limited to 'Lib/asyncio')
-rw-r--r-- | Lib/asyncio/subprocess.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/asyncio/subprocess.py b/Lib/asyncio/subprocess.py index 3047894..848d64f 100644 --- a/Lib/asyncio/subprocess.py +++ b/Lib/asyncio/subprocess.py @@ -106,10 +106,6 @@ class Process: yield from waiter return waiter.result() - @property - def subprocess(self): - return self._transport.get_extra_info('subprocess') - def _check_alive(self): if self._transport.get_returncode() is not None: raise ProcessLookupError() |