commit | d6bdf6d52f0400df1bd1dce24aaad9514015c755 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Aug 17 07:40:26 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Aug 17 07:40:26 2020 -0700 |
tree | ee946661ab6a6047463d8bf4ad8a3e4b01f77c61 | |
parent | 2c050e52f1ccf5db03819e4ed70690521d67e9fa [diff] |
bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852) asyncio.AbstractEventLoop.run_in_executor should be a method that returns an asyncio Future, not an async method. This matches the concrete implementations, and the documentation better. (cherry picked from commit 29f84294d88ec493c2de9d6e8dbc12fae3778771) Co-authored-by: James Weaver <james.barrett@bbc.co.uk>