[docs] [issue22112] '_UnixSelectorEventLoop' object has no attribute 'create_task'

STINNER Victor report at bugs.python.org
Sat Aug 2 13:19:44 CEST 2014

STINNER Victor added the comment:

Here is a a patch which replaces loop.create_task(coro) with asyncio.async(coro), mention that asyncio.async() can be used to scheduler a coroutine, and make it clear that create_task() is only available in Python 3.4.2 and later.

Does it look better?

If it's possible, I would prefer to have exactly the same documentation in Python 3.4 and 3.5.

keywords: +patch
Added file: http://bugs.python.org/file36203/doc_create_task.patch

Python tracker <report at bugs.python.org>

More information about the docs mailing list