New submission from Florent Xicluna <florent.xicl...@gmail.com>: 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. But it fails: if server is daemon, the clients are daemon too, even if daemon_threads=False. Demo attached. ---------- components: Library (Lib) files: test_socketserver.py messages: 145273 nosy: flox priority: normal severity: normal stage: needs patch status: open title: ThreadingMixIn.daemon_threads is not honored when parent is daemon type: behavior versions: Python 2.6, Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file23361/test_socketserver.py _______________________________________ 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