[Python-3000-checkins] r64216 - python/branches/py3k/Lib/subprocess.py

benjamin.peterson python-3000-checkins at python.org
Fri Jun 13 03:31:43 CEST 2008


Author: benjamin.peterson
Date: Fri Jun 13 03:31:43 2008
New Revision: 64216

Log:
fix more threading API usage

Modified:
   python/branches/py3k/Lib/subprocess.py

Modified: python/branches/py3k/Lib/subprocess.py
==============================================================================
--- python/branches/py3k/Lib/subprocess.py	(original)
+++ python/branches/py3k/Lib/subprocess.py	Fri Jun 13 03:31:43 2008
@@ -872,13 +872,13 @@
                 stdout = []
                 stdout_thread = threading.Thread(target=self._readerthread,
                                                  args=(self.stdout, stdout))
-                stdout_thread.setDaemon(True)
+                stdout_thread.set_daemon(True)
                 stdout_thread.start()
             if self.stderr:
                 stderr = []
                 stderr_thread = threading.Thread(target=self._readerthread,
                                                  args=(self.stderr, stderr))
-                stderr_thread.setDaemon(True)
+                stderr_thread.set_daemon(True)
                 stderr_thread.start()
 
             if self.stdin:


More information about the Python-3000-checkins mailing list