From: Victor Stinner Date: Fri, 14 May 2010 21:52:26 +0000 (+0000) Subject: Fix regression introduced by r81154 (Issue #5099, subprocess destructor) X-Git-Tag: v2.7rc1~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2b271f7e3070acbd91b5af7f82140a116ae5dd72;p=thirdparty%2FPython%2Fcpython.git Fix regression introduced by r81154 (Issue #5099, subprocess destructor) --- diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 4a894fe58768..115d07daf104 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -908,9 +908,9 @@ class Popen(object): 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.