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 properly. If you want your threads to stop gracefully, make them non-daemonic and use a suitable signalling mechanism such as an Event. » ---------- assignee: docs@python components: Documentation messages: 182133 nosy: docs@python, pitrou, sbt priority: normal severity: normal status: open title: add note/warning about daemon threads type: behavior versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17208> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com