From: Senthil Kumaran Date: Tue, 6 Apr 2010 03:23:33 +0000 (+0000) Subject: Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once" X-Git-Tag: v2.7b1~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b02b311592fe1b8817d08626cc27b7d47165fcb7;p=thirdparty%2FPython%2Fcpython.git Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once" --- diff --git a/Lib/threading.py b/Lib/threading.py index c6fb2da07c0b..06fdfc14c226 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -464,7 +464,7 @@ class Thread(_Verbose): 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: