-
-
Notifications
You must be signed in to change notification settings - Fork 954
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve changes to contexvars made in threadpools #1258
Closed
Closed
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
73ed57c
Restore context from run_in_threadpool
adriangb 8f1fa9a
linting, type annotations
adriangb 5acec5b
Merge branch 'master' into restore-threadpool
Kludex 9952e47
Merge branch 'master' into restore-threadpool
adriangb 6711330
Merge branch 'master' into restore-threadpool
adriangb 9f880b8
make method private, add tests, document test purpose
adriangb 9976940
Merge branch 'master' into restore-threadpool
adriangb bc15600
Merge branch 'master' into restore-threadpool
adriangb abd858a
Merge branch 'master' into restore-threadpool
adriangb 277c229
Merge branch 'master' into restore-threadpool
adriangb 6b92487
fix linting
adriangb 4887245
Merge branch 'master' into restore-threadpool
adriangb 2235db6
Merge branch 'master' into restore-threadpool
adriangb f41e4da
add tests for behavior of contextvars.ContextVar.reset
adriangb 013938a
Merge branch 'master' into restore-threadpool
adriangb 21579f8
Merge branch 'master' into restore-threadpool
adriangb 2670e32
Merge branch 'master' into restore-threadpool
adriangb fabb1b7
Merge branch 'master' into restore-threadpool
Kludex bff9a5f
Update starlette/concurrency.py
adriangb 073ffbe
Update starlette/concurrency.py
adriangb 9b44f1b
Update concurrency.py
adriangb 09e185d
Update concurrency.py
adriangb bf68fb2
Update concurrency.py
adriangb 319e20f
Merge branch 'master' into restore-threadpool
adriangb 2fe3520
Merge branch 'master' into restore-threadpool
adriangb 473084d
Merge branch 'master' into restore-threadpool
adriangb 728a206
Merge branch 'master' into restore-threadpool
adriangb 54f6643
Merge branch 'master' into restore-threadpool
adriangb c4f0158
Merge branch 'encode:master' into restore-threadpool
adriangb 2d9b857
Merge branch 'master' into restore-threadpool
Kludex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This are the failing tests, which get to the root of the problem in the PR post without jumping through hoops to exercise the issue