New submission from Martin Panter: The async() function is marked as deprecated in 3.4.4. This patch replaces most references to it with references to ensure_future(). The exception is <https://docs.python.org/3.4/library/asyncio-eventloop.html#asyncio.BaseEventLoop.create_task>, which suggests using it in Python < 3.4.2.
---------- assignee: docs@python components: Documentation, asyncio files: ensure_future.patch keywords: patch messages: 245631 nosy: docs@python, gvanrossum, haypo, vadmium, yselivanov priority: normal severity: normal stage: patch review status: open title: Change asyncio.async() → ensure_future() versions: Python 3.4, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file39771/ensure_future.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24487> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com