diff options
-rw-r--r-- | Doc/library/multiprocessing.rst | 7 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-02-25-10-17-23.bpo-32146.xOzUFW.rst | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 1d0920a..a778159 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -186,6 +186,13 @@ A library which wants to use a particular start method should probably use :func:`get_context` to avoid interfering with the choice of the library user. +.. warning:: + + The ``'spawn'`` and ``'forkserver'`` start methods cannot currently + be used with "frozen" executables (i.e., binaries produced by + packages like **PyInstaller** and **cx_Freeze**) on Unix. + The ``'fork'`` start method does work. + Exchanging objects between processes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/Misc/NEWS.d/next/Library/2018-02-25-10-17-23.bpo-32146.xOzUFW.rst b/Misc/NEWS.d/next/Library/2018-02-25-10-17-23.bpo-32146.xOzUFW.rst new file mode 100644 index 0000000..f071c71 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-02-25-10-17-23.bpo-32146.xOzUFW.rst @@ -0,0 +1,2 @@ +Document the interaction between frozen executables and the spawn and +forkserver start methods in multiprocessing. |