From: Senthil Kumaran Date: Tue, 6 Apr 2010 03:30:18 +0000 (+0000) Subject: Merged revisions 79817 via svnmerge from X-Git-Tag: v3.2a1~1220 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fdd4d0f5d6492f3a19f214841998a0abcd3a56d0;p=python Merged revisions 79817 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79817 | senthil.kumaran | 2010-04-06 08:53:33 +0530 (Tue, 06 Apr 2010) | 2 lines Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once" ........ --- diff --git a/Lib/threading.py b/Lib/threading.py index 7e513b8efe..9f1525d0cf 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -460,7 +460,7 @@ class Thread(_Verbose): 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: