multiprocessing, freeze support by default for Pool

May 23, 2018
5:52 p.m.
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
2487
Age (days ago)
2491
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bradley Phillips
-
Brett Cannon