asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent

Process and Popen objects
This commit is contained in:
Victor Stinner 2014-02-09 02:51:40 +01:00
parent 313f829ce8
commit 0c3949c963
3 changed files with 1 additions and 29 deletions

View file

@ -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()