[Python-checkins] cpython (merge 3.5 -> default): Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms
berker.peksag
python-checkins at python.org
Thu Jan 7 11:45:53 EST 2016
https://hg.python.org/cpython/rev/2902f32d1ae9
changeset: 99794:2902f32d1ae9
parent: 99792:62e88e5a61c0
parent: 99793:f08d4712a055
user: Berker Peksag <berker.peksag at gmail.com>
date: Thu Jan 07 18:45:47 2016 +0200
summary:
Issue #5501: Clarify that invoking freeze_support() on non-Windows platforms has no effect
Patch by Davin Potts and Camilla Montonen.
files:
Doc/library/multiprocessing.rst | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -906,8 +906,10 @@
If the ``freeze_support()`` line is omitted then trying to run the frozen
executable will raise :exc:`RuntimeError`.
- If the module is being run normally by the Python interpreter then
- :func:`freeze_support` has no effect.
+ 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.
.. function:: get_all_start_methods()
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list