diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-10-02 19:05:59 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-10-02 19:05:59 (GMT) |
commit | 43d71e2512707b959cc1cc850b85c2de99fee138 (patch) | |
tree | 4b71d141004abe07e19883318bb1dafafb3232d6 /Doc/whatsnew | |
parent | 987f21514122b83e42b04f9782f53b6f77edb174 (diff) | |
parent | 620279b9ace3fff66245672bf7efbb62b2969a30 (diff) | |
download | cpython-43d71e2512707b959cc1cc850b85c2de99fee138.zip cpython-43d71e2512707b959cc1cc850b85c2de99fee138.tar.gz cpython-43d71e2512707b959cc1cc850b85c2de99fee138.tar.bz2 |
asyncio: Make ensure_future() accept all kinds of awaitables.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.5.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 56cb00c..cda8a6d 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -803,6 +803,13 @@ Notable changes in the :mod:`asyncio` module since Python 3.4.0: :class:`asyncio.Queue` class. (Contributed by Victor Stinner.) +Updates in 3.5.1: + +* The :func:`~asyncio.ensure_future` function and all functions that + use it, such as :meth:`loop.run_until_complete() <asyncio.BaseEventLoop.run_until_complete>`, + now accept all kinds of :term:`awaitable objects <awaitable>`. + (Contributed by Yury Selivanov.) + bz2 --- |