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:
Miss Islington (bot) 2019-01-10 10:13:21 -08:00 committed by GitHub
parent 3e3d57d849
commit b9cd38f928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -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 use :func:`get_context` to avoid interfering with the choice of the
library user. 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 Exchanging objects between processes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -0,0 +1,2 @@
Document the interaction between frozen executables and the spawn and
forkserver start methods in multiprocessing.