Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bpo-32146: Add documentation about frozen executables on Unix #5850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Doc/library/multiprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Document the interaction between frozen executables and the spawn and
forkserver start methods in multiprocessing.