summaryrefslogtreecommitdiffstats
path: root/Lib/concurrent/futures/interpreter.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-125864: Propagate `pickle.loads()` failures in `InterpreterPoolExecutor` ↵Peter Bierma2024-10-241-1/+2
| | | | | (gh-125898) Authored-by: Peter Bierma <zintensitydev@gmail.com>
* gh-124694: Add concurrent.futures.InterpreterPoolExecutor (gh-124548)Eric Snow2024-10-161-0/+241
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