multiprocessing, freeze support by default for Pool
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
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@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@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
participants (2)
-
Bradley Phillips
-
Brett Cannon