Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.3k
gh-124694: Add concurrent.futures.InterpreterPoolExecutor#124548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
ericsnowcurrently merged 39 commits intopython:mainfromericsnowcurrently:interpreter-pool-executorOct 16, 2024
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
39 commits Select commitHold shift + click to select a range
5c69d38
Make ThreadPoolExecutor extensible.
ericsnowcurrently01789be
Add InterpreterPoolExecutor.
ericsnowcurrently6def4be
Clean up the interpreter if initialize() fails.
ericsnowcurrently84993a5
Add a missing import.
ericsnowcurrentlyc540cf0
Fix some typos.
ericsnowcurrently45d584d
Add more tests.
ericsnowcurrentlyc90c016
Add docs.
ericsnowcurrently1cb4657
Add a NEwS entry.
ericsnowcurrently4dc0989
Fix the last test.
ericsnowcurrently57b2db6
Add more tests.
ericsnowcurrently75e11d2
Simplify ExecutionFailed.
ericsnowcurrently69c2b8e
Fix the signature of resolve_task().
ericsnowcurrentlyf03c314
Capture any uncaught exception.
ericsnowcurrently4806d9f
Add TODO comments.
ericsnowcurrentlyefc0395
Docs fixes.
ericsnowcurrentlya29aee3
Automatically apply textwrap.dedent() to scripts.
ericsnowcurrently8bab457
Fix the WASI build.
ericsnowcurrentlycd29914
wasi
ericsnowcurrently0287f3b
Ignore race in test.
ericsnowcurrently80cd7b1
Add BrokenInterpreterPool.
ericsnowcurrentlyf8d4273
Tweak the docs.
ericsnowcurrently3a8bfce
Clarify the InterpreterPoolExecutor docs.
ericsnowcurrentlyaf6c27a
Catch all exceptions.
ericsnowcurrently8c0a405
Factor out exception serialization helpers.
ericsnowcurrently1ae7ca2
Set the ExecutionFailed error as __cause__.
ericsnowcurrentlyd24e85d
Drop the exception serialization helpers.
ericsnowcurrently05a03ad
Always finalize if there is an error in initialize().
ericsnowcurrentlyf150931
Explicitly note the problem with functions defined in __main__.
ericsnowcurrently97d0292
Handle the case where interpreters.queues doesn't exist.
ericsnowcurrentlybaf0504
Merge branch 'main' into interpreter-pool-executor
ericsnowcurrently5c3a327
Add a What's New entry about InterpreterPoolExecutor.
ericsnowcurrentlya2032a8
Fix a typo.
ericsnowcurrently54119b8
Fix the documented signature.
ericsnowcurrently744dca7
Test and document asyncio support.
ericsnowcurrentlyf61d62d
Apply suggestions from code review
ericsnowcurrentlyee65bb2
Expand the docs.
ericsnowcurrentlya7f5c50
For now, drop support for scripts.
ericsnowcurrentlyb148e09
Fix a TODO comment.
ericsnowcurrentlye365ae7
Fix the docs.
ericsnowcurrentlyFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Fix the signature of resolve_task().
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit69c2b8efe501154d0811d42b3fa8fed27340aa07
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletionsLib/concurrent/futures/thread.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.