mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent
Process and Popen objects
This commit is contained in:
parent
313f829ce8
commit
0c3949c963
3 changed files with 1 additions and 29 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue