Skip to content

[3.9] bpo-32309: Add support for contextvars in asyncio.to_thread() (GH-20278) #20279

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

Merged
merged 1 commit into from
May 21, 2020

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 21, 2020

Allows contextvars from the main thread to be accessed in the separate thread used in asyncio.to_thread(). See the discussion in GH-20143 for context.

Automerge-Triggered-By: @aeros
(cherry picked from commit 0f56263)

Co-authored-by: Kyle Stanley [email protected]

https://bugs.python.org/issue32309

…GH-20278)

Allows contextvars from the main thread to be accessed in the separate thread used in `asyncio.to_thread()`. See the [discussion](https://github.com/python/cpython/pull/20143GH-discussion_r427808225) in pythonGH-20143 for context.

Automerge-Triggered-By: @aeros
(cherry picked from commit 0f56263)

Co-authored-by: Kyle Stanley <[email protected]>
@miss-islington
Copy link
Contributor Author

@aeros: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 3e65054 into python:3.9 May 21, 2020
@miss-islington miss-islington deleted the backport-0f56263-3.9 branch May 21, 2020 05:38
@miss-islington
Copy link
Contributor Author

@aeros: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@aeros: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants