Martin Panter added the comment:

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().

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to