Mercurial > cpython-lru_cache-weakref
diff Lib/subprocess.py @ 61582:e6bfe93b65bb legacy-trunk
Fix regression introduced by r81154 (Issue #5099, subprocess destructor)
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Fri, 14 May 2010 21:52:26 +0000 |
| parents | ca496bfacd1b |
| children | da558461d9a9 |
line wrap: on
line diff
--- a/Lib/subprocess.py Fri May 14 15:53:20 2010 +0000 +++ b/Lib/subprocess.py Fri May 14 21:52:26 2010 +0000 @@ -908,9 +908,9 @@ def _internal_poll(self, _deadstate=None, - _WaitForSingleObject=WaitForSingleObject, - _WAIT_OBJECT_0=WAIT_OBJECT_0, - _GetExitCodeProcess=GetExitCodeProcess): + _WaitForSingleObject=_subprocess.WaitForSingleObject, + _WAIT_OBJECT_0=_subprocess.WAIT_OBJECT_0, + _GetExitCodeProcess=_subprocess.GetExitCodeProcess): """Check if child process has terminated. Returns returncode attribute.
