[issue13140] ThreadingMixIn.daemon_threads is not honored when parent is daemon

2011-11-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset f09e3b1603ee by Florent Xicluna in branch '2.7': Issue #13140: Fix the daemon_threads attribute of ThreadingMixIn. http://hg.python.org/cpython/rev/f09e3b1603ee New changeset 94017ce9304d by Florent Xicluna in branch '3.2': Closes #13140: Fix the d

[issue13140] ThreadingMixIn.daemon_threads is not honored when parent is daemon

2011-11-03 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: -> flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue13140] ThreadingMixIn.daemon_threads is not honored when parent is daemon

2011-11-03 Thread Florent Xicluna
Florent Xicluna added the comment: I agree it is a bug. It does not make sense to preserve this behaviour. I plan to apply the initial patch by Charles-François to 2.7 and 3.x. -- ___ Python tracker __

[issue13140] ThreadingMixIn.daemon_threads is not honored when parent is daemon

2011-10-23 Thread Charles-François Natali
Charles-François Natali added the comment: > I would prefer to preserve the inheritance by default, and to change the > daemonic attribute only if it is explicitly set to True or False. > This way it will be backward compatible. It may be backward compatible, but IMHO, the current behavior is

[issue13140] ThreadingMixIn.daemon_threads is not honored when parent is daemon

2011-10-22 Thread Florent Xicluna
Florent Xicluna added the comment: I would prefer to preserve the inheritance by default, and to change the daemonic attribute only if it is explicitly set to True or False. This way it will be backward compatible. Patch attached. -- versions: -Python 2.6 Added file: http://bugs.pyth

[issue13140] ThreadingMixIn.daemon_threads is not honored when parent is daemon

2011-10-21 Thread Charles-François Natali
Charles-François Natali 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 ""

[issue13140] ThreadingMixIn.daemon_threads is not honored when parent is daemon

2011-10-09 Thread Florent Xicluna
New submission from Florent Xicluna : I use the socketserver.ThreadingMixIn to create a TCPServer. I set the server thread as daemon (t.daemon=True). But I want the client threads to run as non-daemon. According to the documentation, the "daemon_threads" class attribute should do the trick. Bu