[Python-checkins] r81179 - python/trunk/Lib/subprocess.py

victor.stinner python-checkins at python.org
Fri May 14 23:52:26 CEST 2010


Author: victor.stinner
Date: Fri May 14 23:52:26 2010
New Revision: 81179

Log:
Fix regression introduced by r81154 (Issue #5099, subprocess destructor)


Modified:
   python/trunk/Lib/subprocess.py

Modified: python/trunk/Lib/subprocess.py
==============================================================================
--- python/trunk/Lib/subprocess.py	(original)
+++ python/trunk/Lib/subprocess.py	Fri May 14 23:52:26 2010
@@ -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.
 


More information about the Python-checkins mailing list