Author martin.panter
Recipients martin.panter, pitrou, serhiy.storchaka, vstinner
Date 2016-04-13.02:36:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460514969.8.0.805079080775.issue26741@psf.upfronthosting.co.za>
In-reply-to
Content
I think the basic idea of adding the warning is good.

I think this might be a bit like open(closefd=True) and socket.detach(). Normally, it is a bug not to close a file or socket, but the API is flexible and has a way to bypass this.

Perhaps the term “daemon” means something very specific that is not relevant. But as another example, how would you implement the “bg” and “fg” commands of a Unix shell with subprocess.Popen? The Python parent may need to exit cleanly if the child is still running in the background.

I am not really familiar with it, but perhaps the webbrowser.BackgroundBrowser may be a use case for detach().
History
Date User Action Args
2016-04-13 02:36:09martin.pantersetrecipients: + martin.panter, pitrou, vstinner, serhiy.storchaka
2016-04-13 02:36:09martin.pantersetmessageid: <1460514969.8.0.805079080775.issue26741@psf.upfronthosting.co.za>
2016-04-13 02:36:09martin.panterlinkissue26741 messages
2016-04-13 02:36:09martin.pantercreate