[Python-checkins] r79817 - python/trunk/Lib/threading.py
senthil.kumaran
python-checkins at python.org
Tue Apr 6 05:23:33 CEST 2010
Author: senthil.kumaran
Date: Tue Apr 6 05:23:33 2010
New Revision: 79817
Log:
Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once"
Modified:
python/trunk/Lib/threading.py
Modified: python/trunk/Lib/threading.py
==============================================================================
--- python/trunk/Lib/threading.py (original)
+++ python/trunk/Lib/threading.py Tue Apr 6 05:23:33 2010
@@ -464,7 +464,7 @@
if not self.__initialized:
raise RuntimeError("thread.__init__() not called")
if self.__started.is_set():
- raise RuntimeError("thread already started")
+ raise RuntimeError("threads can only be started once")
if __debug__:
self._note("%s.start(): starting thread", self)
with _active_limbo_lock:
More information about the Python-checkins
mailing list