We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd33c2 commit 7749cb5Copy full SHA for 7749cb5
Doc/library/concurrent.futures.rst
@@ -164,6 +164,9 @@ uses a pool of processes to execute calls asynchronously.
164
allows it to side-step the :term:`Global Interpreter Lock` but also means that
165
only picklable objects can be executed and returned.
166
167
+The ``__main__`` module must be importable by worker subprocesses. This means
168
+that :class:`ProcessPoolExecutor` will not work in the interactive interpreter.
169
+
170
Calling :class:`Executor` or :class:`Future` methods from a callable submitted
171
to a :class:`ProcessPoolExecutor` will result in deadlock.
172
0 commit comments