mirror of https://github.com/python/cpython
a5a7f5e16d
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 |
||
---|---|---|
.. | ||
__init__.py | ||
_base.py | ||
interpreter.py | ||
process.py | ||
thread.py |