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.

作者 davin
收信人 barry, davin, kapilt, lukasz.langa, miss-islington, ned.deily, pitrou, ronaldoussoren, vstinner
日期 2019-05-05.15:25:59
SpamBayes Score -1.0
Marked as misclassified
Message-id <1557069960.11.0.283667102106.issue33725@roundup.psfhosted.org>
In-reply-to
内容
I believe we must change the default behavior on MacOS to use spawn instead of fork.  Encouraging people to use fork by default on MacOS is encouraging them to create something that effectively will not work.  Keeping fork as the default behavior when we have already turned off all of the tests of fork behavior on MacOS also makes no sense.  Existing Python code that depends upon the default behavior (fork) on MacOS has already been broken -- if we make this change, we are arguably not breaking anyone's working code.

Users can and will still be able to specify the start mechanism on MacOS, including fork.  This empowers users to continue to handle even the most esoteric use cases without loss of functionality from multiprocessing.  Though admittedly, without an ability to test the behavior of fork, this will need to be marked as deprecated.

I will supply a patch making this change and updating the docs shortly after PyCon.
历史
日期 用户 动作 参数
2019-05-05 15:26:00davin修改recipients: + davin, barry, ronaldoussoren, pitrou, vstinner, ned.deily, lukasz.langa, miss-islington, kapilt
2019-05-05 15:26:00davin修改messageid: <1557069960.11.0.283667102106.issue33725@roundup.psfhosted.org>
2019-05-05 15:26:00davin链接issue33725 messages
2019-05-05 15:25:59davin创建