[Python-ideas] An error in multiprocessing on MacOSX?

Ronald Oussoren ronaldoussoren at mac.com
Wed Nov 21 21:49:28 CET 2012


On 21 Nov, 2012, at 16:12, Sturla Molden <sturla at molden.no> wrote:

> 
> 
> And what about Python itself? Is there any non-POSIX code in the interpreter? If it is, os.fork should be removed on Mac.

Not necessarily in the interpeter itself, but the proxy-detection code in _scproxy uses non-POSIX code for detecting
the user's proxy settings.

BTW. removing os.fork is overkill, some system APIs don't work properly on OSX after fork and complain loudly when
you try to use them. So don't do that.

Ronald



More information about the Python-ideas mailing list