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 davin
Recipients barry, davin, kapilt, lukasz.langa, miss-islington, ned.deily, pitrou, ronaldoussoren, vstinner
Date 2019-05-05.15:25:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557069960.11.0.283667102106.issue33725@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-05 15:26:00davinsetrecipients: + davin, barry, ronaldoussoren, pitrou, vstinner, ned.deily, lukasz.langa, miss-islington, kapilt
2019-05-05 15:26:00davinsetmessageid: <1557069960.11.0.283667102106.issue33725@roundup.psfhosted.org>
2019-05-05 15:26:00davinlinkissue33725 messages
2019-05-05 15:25:59davincreate