]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-133485: Use interpreters.Interpreter in InterpreterPoolExecutor (gh-135695)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Jun 2025 00:23:12 +0000 (02:23 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Jun 2025 00:23:12 +0000 (00:23 +0000)
commitbc8ed42176b89cd9b965a172c3a0324db3c68754
tree0ccf3ee77c5b997df33a266bd1af937a02551f9f
parentc03f94e7fe2fe96827ed96ce78aed0fc88fb8358
[3.14] gh-133485: Use interpreters.Interpreter in InterpreterPoolExecutor (gh-135695)

Most importantly, this resolves the issues with functions and types defined in __main__.
It also expands the number of supported objects and simplifies the implementation.

(cherry picked from commit 725da50520, AKA gh-133957)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Doc/library/concurrent.futures.rst
Lib/concurrent/futures/interpreter.py
Lib/test/test_concurrent_futures/test_init.py
Lib/test/test_concurrent_futures/test_interpreter_pool.py
Python/crossinterp.c