diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-05-19 10:03:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 10:03:25 (GMT) |
commit | e2991308c9b49547d9762157ac913dda94b5eb32 (patch) | |
tree | ad5481c656f898ca794fe62ab882d95c2388b65f /Python/Python-ast.c | |
parent | 3d062829deadcb8355e97090aba47138eb9bc649 (diff) | |
download | cpython-e2991308c9b49547d9762157ac913dda94b5eb32.zip cpython-e2991308c9b49547d9762157ac913dda94b5eb32.tar.gz cpython-e2991308c9b49547d9762157ac913dda94b5eb32.tar.bz2 |
bpo-32309: Implement asyncio.to_thread() (GH-20143)
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 GH-18410 for context.
Automerge-Triggered-By: @aeros
(cherry picked from commit cc2bbc2227c3f5ed9d8f6b3bd052e6f9e68279d2)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions