This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients flox, neologix, vstinner
Date 2011-10-21.20:15:12
SpamBayes Score 9.485937e-05
Marked as misclassified No
Message-id <1319228113.01.0.876364876801.issue13140@psf.upfronthosting.co.za>
In-reply-to
Content
"""
        """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).
History
Date User Action Args
2011-10-21 20:15:13neologixsetrecipients: + neologix, vstinner, flox
2011-10-21 20:15:13neologixsetmessageid: <1319228113.01.0.876364876801.issue13140@psf.upfronthosting.co.za>
2011-10-21 20:15:12neologixlinkissue13140 messages
2011-10-21 20:15:12neologixcreate