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

Guido van Rossum report at bugs.python.org
Sat Aug 2 20:48:49 CEST 2014


Guido van Rossum added the comment:

Looks good!

On Sat, Aug 2, 2014 at 4:19 AM, STINNER Victor <report at bugs.python.org>
wrote:

>
> 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>
> <http://bugs.python.org/issue22112>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22112>
_______________________________________


More information about the docs mailing list