gh-124694: Add concurrent.futures.InterpreterPoolExecutor by ericsnowcurrently · Pull Request #124548 · python/cpython
added 4 commits
September 27, 2024 12:04
ericsnowcurrently
changed the title
Add concurrent.futures.InterpreterPoolExecutor
gh-124694: Add concurrent.futures.InterpreterPoolExecutor
This was referenced
Oct 23, 2024ebonnal pushed a commit to ebonnal/cpython that referenced this pull request
Jan 12, 2025…ongh-124548) This is an implementation of InterpreterPoolExecutor that builds on ThreadPoolExecutor. (Note that this is not tied to PEP 734, which is strictly about adding a new stdlib module.) Possible future improvements: * support passing a script for the initializer or to submit() * support passing (most) arbitrary functions without pickling * support passing closures * optionally exec functions against __main__ instead of the their original module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters