Skip to content

[3.9] bpo-32309: Implement asyncio.to_thread() (GH-20143) #20212

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 19, 2020

Conversation

miss-islington
Copy link
Contributor

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

Implements asyncio.to_thread, a coroutine for asynchronously running IO-bound functions in a separate thread without blocking the event loop. See the discussion starting from here in GH-18410 for context.

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

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

https://bugs.python.org/issue32309

Implements `asyncio.to_thread`, a coroutine for asynchronously running IO-bound functions in a separate thread without blocking the event loop. See the discussion starting from [here](https://github.com/python/cpython/pull/18410GH-issuecomment-628930973) in pythonGH-18410 for context.

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

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 e299130 into python:3.9 May 19, 2020
@miss-islington miss-islington deleted the backport-cc2bbc2-3.9 branch May 19, 2020 10:03
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants