[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-28 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +9023 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread Gefn
Gefn added the comment: I think it's much clearer -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread miss-islington
miss-islington added the comment: New changeset 85ccedc5b57ddda198e7176ba787e3896435c504 by Miss Islington (bot) in branch '3.7': bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611) https://github.com/python/cpython/commit/85ccedc5b57ddda198e7176ba787e3896435c504 -- nosy:

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +9010 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 59ee5b12938efbf534f2a19300a847bf6b23a77d by Yury Selivanov in branch 'master': bpo-34802: Fix asyncio.iscoroutine() docs (GH-9611) https://github.com/python/cpython/commit/59ee5b12938efbf534f2a19300a847bf6b23a77d --

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread Yury Selivanov
Yury Selivanov added the comment: I'll make a simple fix for the asyncio.coroutine decorator docs. > I would suggest below for #coroutines : >> Coroutines declared with async/await syntax is the preferred way of writing >> asyncio applications but asyncio also supports legacy

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +9009 stage: -> patch review ___ Python tracker ___ ___

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-27 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. I believe this was done as part asyncio docs overhaul and I am adding Yury here. The current docs link to #coroutine from asyncio.iscoroutine whereas the previous docs had the definition inline. I think this is clarified in

[issue34802] asyncio.iscoroutine() documentation is wrong

2018-09-25 Thread Gefn
New submission from Gefn : The documentation states that "This method is different from inspect.iscoroutine() because it returns True for generator-based coroutines decorated with @coroutine." It seems to be wrong, a method written as follow: def test(): yield 1 will be evaluated as a