Lines Matching refs:name
121 owner = _active[owner].name
849 def __init__(self, group=None, target=None, name=None,
859 *name* is the thread name. By default, a unique name is constructed of
875 if name:
876 name = str(name)
878 name = _newname("Thread-%d")
882 name += f" ({target_name})"
887 self._name = name
1146 def name(self):
1149 It has no semantics. Multiple threads may be given the same name. The
1150 initial name is set by the constructor.
1156 @name.setter
1157 def name(self, name):
1159 self._name = str(name)
1247 This method is deprecated, use the name attribute instead.
1251 warnings.warn('getName() is deprecated, get the name attribute instead',
1253 return self.name
1255 def setName(self, name):
1256 """Set the name string for this thread.
1258 This method is deprecated, use the name attribute instead.
1262 warnings.warn('setName() is deprecated, set the name attribute instead',
1264 self.name = name
1303 name = args.thread.name
1305 name = get_ident()
1306 print(f"Exception in thread {name}:",
1403 Thread.__init__(self, name="MainThread", daemon=False)
1424 Thread.__init__(self, name=_newname("Dummy-%d"), daemon=True)