mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
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 | ||