[issue5031] Thread.daemon docs
Jesse Noller
report at bugs.python.org
Sat Jan 24 01:54:06 CET 2009
Jesse Noller <jnoller at gmail.com> added the comment:
> Not true; the next sentence in the description explains where the
> default value comes from.
Hmm, unless your threads are spawned by daemonized threads; the value
always defaults to false. That's why I said it defaults to False. Hows
this:
"""A boolean value indicating whether this thread is a daemon thread
(True) or not (False). This must be set before start() is called,
otherwise RuntimeError is raised. Its initial value is inherited from
the creating thread; the main thread is not a daemon thread therefore
all threads created in the main thread default to daemon = False.
The entire Python program exits ..."""
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5031>
_______________________________________
More information about the Python-bugs-list
mailing list