summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-10-25 17:53:06 (GMT)
committerBrett Cannon <brett@python.org>2013-10-25 17:53:06 (GMT)
commit6a4cbc00ab7bd62560e11a7ed09a1b24c7e96ae1 (patch)
tree1b3c79d68c802041ff3c01f2a24757da041a8d26 /Doc
parent8ad37860c9290f9e45ea0460ee57c882df0543e3 (diff)
parentc00cf53d84837a4c12e6d7b63e36b0260de06b1f (diff)
downloadcpython-6a4cbc00ab7bd62560e11a7ed09a1b24c7e96ae1.zip
cpython-6a4cbc00ab7bd62560e11a7ed09a1b24c7e96ae1.tar.gz
cpython-6a4cbc00ab7bd62560e11a7ed09a1b24c7e96ae1.tar.bz2
merge
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/concurrent.futures.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/concurrent.futures.rst b/Doc/library/concurrent.futures.rst
index c2f92b3..93538e4 100644
--- a/Doc/library/concurrent.futures.rst
+++ b/Doc/library/concurrent.futures.rst
@@ -164,6 +164,9 @@ uses a pool of processes to execute calls asynchronously.
allows it to side-step the :term:`Global Interpreter Lock` but also means that
only picklable objects can be executed and returned.
+The ``__main__`` module must be importable by worker subprocesses. This means
+that :class:`ProcessPoolExecutor` will not work in the interactive interpreter.
+
Calling :class:`Executor` or :class:`Future` methods from a callable submitted
to a :class:`ProcessPoolExecutor` will result in deadlock.