[issue8262] bad wording in error message attempting to start a Thread twice

Gabriel Genellina report at bugs.python.org
Tue Mar 30 07:09:42 CEST 2010


New submission from Gabriel Genellina <gagsl-py2 at yahoo.com.ar>:

Steve Holden, in <http://permalink.gmane.org/gmane.comp.python.general/658347>, about the RuntimeError you get when  a Thread object is started twice:

«"thread already started" implies that the thread is running, but you
actually get the same message if you try to start any terminated thread
(including a canceled one), so "threads cannot be restarted" might be a
better message. Or, better still, "Threads can only be started once".»

This patch fixes the wording as suggested.

----------
components: Library (Lib)
files: threading.diff
keywords: patch
messages: 101918
nosy: gagenellina
severity: normal
status: open
title: bad wording in error message attempting to start a Thread twice
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file16695/threading.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8262>
_______________________________________


More information about the Python-bugs-list mailing list