STINNER Victor added the comment:
Hi,
I pushed my change to add a new BaseEventLoop.create_task() method. For that, I
also updated the documentation:
http://hg.python.org/cpython/rev/66f06fbf8a2f
I rewrote the documentation of the Task method, and more generally all places
describing how to
STINNER Victor added the comment:
Victor, since you wrote much of the asyncio doc, any comment on this request?
Please write a patch. The change is ok.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21365
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
components: +Asyncio
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21365
___
___
Terry J. Reedy added the comment:
Victor, since you wrote much of the asyncio doc, any comment on this request?
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21365
___
New submission from Paul Sokolovsky:
It caused me a big surprise that asyncio.Task object automatically schedules
itself in the main loop for execution upon creation (i.e. in constructor).
Nowhere in the main reference part of section 18.5.2.4. Task
Paul Sokolovsky added the comment:
Based on discussion
https://groups.google.com/forum/#!topic/python-tulip/zfMQIUcIR-0 . That
discussion actually questions the grounds of such Task behavior, and points it
as a violation of Explicit is better than implicit principle, and as
inconsistent
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21365
___