[New-bugs-announce] [issue5031] Thread.daemon docs

steve21 report at bugs.python.org
Thu Jan 22 10:26:30 CET 2009


New submission from steve21 <steve872929-bv at yahoo.com.au>:

In the threading module the Thread.daemon documentation says:

"The thread’s daemon flag. This must be set before start() is called,
otherwise RuntimeError is raised.

    The initial value is inherited from the creating thread.

    The entire Python program exits when no alive non-daemon threads are
left."

I think the docs should state Thread.daemon's type (boolean, or integer,
or something else?) and its default value (when you have not set .daemon
in the creating thread.)

----------
assignee: georg.brandl
components: Documentation
messages: 80361
nosy: georg.brandl, steve21
severity: normal
status: open
title: Thread.daemon docs
versions: Python 3.0

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


More information about the New-bugs-announce mailing list