bpo-32146: Add documentation about frozen executables on Unix (GH-5850)
(cherry picked from commit bab4bbb4c9
)
Co-authored-by: Bo Bayles <bbayles@gmail.com>
This commit is contained in:
parent
3e3d57d849
commit
b9cd38f928
|
@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Document the interaction between frozen executables and the spawn and
|
||||
forkserver start methods in multiprocessing.
|
Loading…
Reference in New Issue