[issue34753] Use coroutine object or coroutine function instead of coroutine

2018-09-23 Thread Windson Yang
Change by Windson Yang : -- keywords: +patch pull_requests: +8928 stage: -> patch review ___ Python tracker ___ ___

[issue34753] Use coroutine object or coroutine function instead of coroutine

2018-09-20 Thread Windson Yang
Windson Yang added the comment: Sure, I found around 7 places may need to change, I can fix some of them right, and I will put the rest links which I'm not sure in the PR comment. -- ___ Python tracker

[issue34753] Use coroutine object or coroutine function instead of coroutine

2018-09-20 Thread Yury Selivanov
Yury Selivanov added the comment: > This will let people confused. IMO we should use `coroutine object` or > `coroutine function` instead of coroutine when it means an object. I'm not sure that it's a good idea to apply this change everywhere, but I think in general this is a good idea. Do

[issue34753] Use coroutine object or coroutine function instead of coroutine

2018-09-20 Thread Windson Yang
New submission from Windson Yang : A PR https://github.com/python/cpython/pull/9408 solved an ambiguous problem about coroutine. Which led me to https://docs.python.org/3/library/asyncio-task.html#awaitables > Note that in this documentation the term “coroutine” can be used for two > closely