[Python-ideas] multiprocessing, freeze support by default for Pool

Brett Cannon brett at python.org
Mon May 28 12:16:04 EDT 2018


I would just open an issues on bugs.python.org for this.

On Wed, 23 May 2018 at 17:54 Bradley Phillips <
bradleyp81+python-ideas at gmail.com> wrote:

> Hi All
>
> There are about 347 results for the following query on the google search
> engine:
> "python multiprocessing pyinstaller crash site:stackoverflow.com"
>
> The windows fork bomb is a known frequent occurrence. I know that
> freeze_support is supposed to be called but this issue still catches me out
> most times (and many others).
>
> I propose adding to line 117 of multiprocessing/context.py
>         if (sys.platform == 'win32'):
>             self.freeze_support()
>
> Thanks
> Regards
> Brad
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180528/3fb3bf48/attachment.html>


More information about the Python-ideas mailing list