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 Sridhar Iyer
Recipients Sridhar Iyer, docs@python
Date 2019-03-01.00:49:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551401372.79.0.134624139836.issue36153@roundup.psfhosted.org>
In-reply-to
Content
The documentation on freeze_support listed on https://docs.python.org/3/library/multiprocessing.html need to be fixed

This mentions:
"Calling freeze_support() has no effect when invoked on any operating system other than Windows. In addition, if the module is being run normally by the Python interpreter on Windows (the program has not been frozen), then freeze_support() has no effect."

This is not true. Sklearn/tensorflow libraries tend to cause an infinite loop when frozen with pyinstaller (tested on python 3.6 on ubuntu 14.04). freeze_support is the only way to get around the situation and should be included before including any other module that includes a multiprocessing library (not just in main).
History
Date User Action Args
2019-03-01 00:49:32Sridhar Iyersetrecipients: + Sridhar Iyer, docs@python
2019-03-01 00:49:32Sridhar Iyersetmessageid: <1551401372.79.0.134624139836.issue36153@roundup.psfhosted.org>
2019-03-01 00:49:32Sridhar Iyerlinkissue36153 messages
2019-03-01 00:49:32Sridhar Iyercreate