Hi,

I updated the asyncio doc according to last developments, especially
the new create_task() method:

- Document the new create_task() method
- "Hide" the Task class: point to the create_task() method for interoperability
- Rewrite the documentation of the Task class
- Document the "Pending task destroyed"
- Update output in debug mode of examples in the dev section
- Replace Task() with create_task() in examples

Can someone review the whole documentation, or maybe just the recent changes?

At least, can you read the documentation of the Task class which is
very important:
https://docs.python.org/dev/library/asyncio-task.html#task

Someone complained that it was not mentionned that creating a Task
schedules immediatly the execution of the coroutine:
http://bugs.python.org/issue21365
(it's now fixed)

I also updated the documentation of create_task() and async() functions:

https://docs.python.org/dev/library/asyncio-eventloop.html#asyncio.BaseEventLoop.create_task

https://docs.python.org/dev/library/asyncio-task.html#asyncio.async

Victor

Reply via email to