diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2024-10-16 22:50:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 22:50:46 (GMT) |
commit | a5a7f5e16d8c3938d266703ea8fba8ffee3e3ae5 (patch) | |
tree | 8f35555767598b877e490814eca9363cdf5eea2d /Python/tracemalloc.c | |
parent | a38fef4439139743e3334c1d69f24cafdf4d71da (diff) | |
download | cpython-a5a7f5e16d8c3938d266703ea8fba8ffee3e3ae5.zip cpython-a5a7f5e16d8c3938d266703ea8fba8ffee3e3ae5.tar.gz cpython-a5a7f5e16d8c3938d266703ea8fba8ffee3e3ae5.tar.bz2 |
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
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions