Permalink
Browse files

bpo-32146: Add documentation about frozen executables on Unix (GH-5850)

  • Loading branch information...
bbayles authored and vstinner committed Jan 10, 2019
1 parent 572168a commit bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d
@@ -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.

0 comments on commit bab4bbb

Please sign in to comment.