Discussion:
[Python-3000-checkins] r65827 - in python/branches/py3k: Lib/threading.py
benjamin.peterson
2008-08-18 18:16:46 UTC
Permalink
Author: benjamin.peterson
Date: Mon Aug 18 20:16:46 2008
New Revision: 65827

Log:
Merged revisions 65826 via svnmerge from
svn+ssh://pythondev at svn.python.org/python/trunk

........
r65826 | benjamin.peterson | 2008-08-18 13:13:17 -0500 (Mon, 18 Aug 2008) | 1 line

bring back the old API
........


Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/threading.py

Modified: python/branches/py3k/Lib/threading.py
==============================================================================
--- python/branches/py3k/Lib/threading.py (original)
+++ python/branches/py3k/Lib/threading.py Mon Aug 18 20:16:46 2008
@@ -653,6 +653,18 @@
raise RuntimeError("cannot set daemon status of active thread");
self._daemonic = daemonic

+ def isDaemon(self):
+ return self.daemon
+
+ def setDaemon(self, daemonic):
+ self.daemon = daemonic
+
+ def getName(self):
+ return self.name
+
+ def setName(self, name):
+ self.name = name
+
# The timer class was contributed by Itamar Shtull-Trauring

def Timer(*args, **kwargs):

Loading...