Mercurial > cpython-lru_cache-weakref
changeset 86631:7e3e2cfc27db
merge
| author | Brett Cannon <brett@python.org> |
|---|---|
| date | Fri, 25 Oct 2013 13:53:06 -0400 |
| parents | 1428659a41b6 (current diff) 687eba0182d7 (diff) |
| children | f3d50720dee0 |
| files | |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Doc/library/concurrent.futures.rst Fri Oct 25 13:52:46 2013 -0400 +++ b/Doc/library/concurrent.futures.rst Fri Oct 25 13:53:06 2013 -0400 @@ -164,6 +164,9 @@ 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.
