]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-133485: Use interpreters.Interpreter in InterpreterPoolExecutor (gh-133957)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 18 Jun 2025 23:57:14 +0000 (17:57 -0600)
committerGitHub <noreply@github.com>
Wed, 18 Jun 2025 23:57:14 +0000 (17:57 -0600)
commit725da50520c5cc3002f6f55bf67c56853507c604
treed5f92b838c013c52f51ff5fe24371a4c544badf5
parent15f2bac02c5e106f04a93ce73fd93cc305253405
gh-133485: Use interpreters.Interpreter in InterpreterPoolExecutor (gh-133957)

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.
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