benjamin.peterson
2008-08-18 19:08:51 UTC
Author: benjamin.peterson
Date: Mon Aug 18 21:08:51 2008
New Revision: 65833
Log:
fix set_daemon usage in subprocess
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 Mon Aug 18 21:08:51 2008
@@ -876,13 +876,13 @@
stdout = []
stdout_thread = threading.Thread(target=self._readerthread,
args=(self.stdout, stdout))
- stdout_thread.set_daemon(True)
+ stdout_thread.daemon = True
stdout_thread.start()
if self.stderr:
stderr = []
stderr_thread = threading.Thread(target=self._readerthread,
args=(self.stderr, stderr))
- stderr_thread.set_daemon(True)
+ stderr_thread.daemon = True
stderr_thread.start()
if self.stdin:
Date: Mon Aug 18 21:08:51 2008
New Revision: 65833
Log:
fix set_daemon usage in subprocess
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 Mon Aug 18 21:08:51 2008
@@ -876,13 +876,13 @@
stdout = []
stdout_thread = threading.Thread(target=self._readerthread,
args=(self.stdout, stdout))
- stdout_thread.set_daemon(True)
+ stdout_thread.daemon = True
stdout_thread.start()
if self.stderr:
stderr = []
stderr_thread = threading.Thread(target=self._readerthread,
args=(self.stderr, stderr))
- stderr_thread.set_daemon(True)
+ stderr_thread.daemon = True
stderr_thread.start()
if self.stdin: