Antoine Pitrou added the comment:

A use case for not using fork() is when your parent process opens some system 
resources of some sort (for example a listening TCP socket). The child will 
then inherit those resources, which can have all kinds of unforeseen and 
troublesome consequences (for example that listening TCP socket will be left 
open in the child when it is closed in the parent, and so trying to bind() to 
the same port again will fail).

Generally, I think having an option for zero-sharing spawning of processes 
would help code quality.

----------
versions: +Python 3.4 -Python 3.3

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

Reply via email to