Charles-François Natali <neolo...@free.fr> added the comment: """ """Start a new thread to process the request.""" t = threading.Thread(target = self.process_request_thread, args = (request, client_address)) if self.daemon_threads: t.daemon = True """
If daemon_threads is false, t.daemon is not set, and the daemonic property is inherited from the creating thread, i.e. the server thread. Patch attached (I don't think a test is necessary for such a trivial change). ---------- keywords: +needs review, patch nosy: +haypo, neologix stage: needs patch -> patch review Added file: http://bugs.python.org/file23491/socketserver_daemon.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13140> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com