This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Anne Archibald, Manjusaka, gilles-duboscq, vstinner
Date 2021-02-18.18:03:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613671395.96.0.103455909085.issue39853@roundup.psfhosted.org>
In-reply-to
Content
> For us it happens when using multiprocessing: the main process forks 2 processes and both use urlopen at roughly the same time. We are seeing this on Python 3.7.2 on macOS 10.14.3.

From what I understood, calling fork() (and then continue to execute regular Python code) is no longer safe in macOS 10.14 and must no longer be used. Only fork+exec is safe (spawn a new child process), but posix_spawn() is preferred on macOS. But I'm not a macOS expert.
History
Date User Action Args
2021-02-18 18:03:15vstinnersetrecipients: + vstinner, Manjusaka, Anne Archibald, gilles-duboscq
2021-02-18 18:03:15vstinnersetmessageid: <1613671395.96.0.103455909085.issue39853@roundup.psfhosted.org>
2021-02-18 18:03:15vstinnerlinkissue39853 messages
2021-02-18 18:03:15vstinnercreate