[docs] [issue24487] Change asyncio.async() → ensure_future()

Martin Panter report at bugs.python.org
Mon Jun 22 16:24:29 CEST 2015


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 at python
components: Documentation, asyncio
files: ensure_future.patch
keywords: patch
messages: 245631
nosy: docs at 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 <report at bugs.python.org>
<http://bugs.python.org/issue24487>
_______________________________________


More information about the docs mailing list