gh-124694: Add concurrent.futures.InterpreterPoolExecutor (gh-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
E
Eric Snow committed
a5a7f5e16d8c3938d266703ea8fba8ffee3e3ae5
Parent: a38fef4
Committed by GitHub <noreply@github.com>
on 10/16/2024, 10:50:46 PM