New submission from Antoine Pitrou:
People are generally not aware of the properties of daemon threads.
I suggest to add a note such as the following:
« Daemon threads are abruptly stopped at shutdown. Their resources (such as
open files, database transactions, etc.) may not be released
Tim Golden added the comment:
+1 This is essentially the answer to the naive user's question:
Why would anyone *not* use daemon threads given that they're less
hassle to manage?
--
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset e63c4bc81d9f by Antoine Pitrou in branch '2.7':
Issue #17208: add a note about the termination behaviour of daemon threads.
http://hg.python.org/cpython/rev/e63c4bc81d9f
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset 8753a3be4a3c by Antoine Pitrou in branch '3.2':
Issue #17208: add a note about the termination behaviour of daemon threads.
http://hg.python.org/cpython/rev/8753a3be4a3c
New changeset 917ae89e59ce by Antoine Pitrou in branch '3.3':
Issue #17208:
Antoine Pitrou added the comment:
Committed.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17208
___