[Python-Dev] pthreads, fork, import, and execvp

Yair Chuchem yairchu at gmail.com
Tue May 16 10:09:18 CEST 2006


On 5/16/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>
>
> Rotem should simply avoid to fork() in the toplevel code of a module.
>
>
this is not what happened.
we called subprocess which itself called fork.

as a subprocess bug this could be easily fixed by moving the import in
"os._execve".
we have made that fix locally and it fixes the problem.

cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060516/8dfb6009/attachment.html 


More information about the Python-Dev mailing list