[issue31818] [macOS] _scproxy.get_proxies() crash -- get_proxies() is not fork-safe?

Ronald Oussoren report at bugs.python.org
Mon Oct 19 08:29:59 EDT 2020


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I'm in favour of closing this issue.

If anything needs to be done its adding a warning to the documentation of os.fork() to the effect that doing substantial work in the child can be problematic on macOS. Maybe something like:

.. warning:: On macOS the child proces might crash if the parent
   proces uses higher level system APIs before calling this function. This
   includes, but is not limited to, using :mod:`urllib.request` in the parent
   process.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31818>
_______________________________________


More information about the Python-bugs-list mailing list