[issue36921] Deprecate yield from and @coroutine in asyncio

2021-04-26 Thread Nathaniel Smith
Nathaniel Smith added the comment: @types.coroutine is still useful as a tool for writing "foundation" coroutines that directly interact with the coroutine runner, e.g.: https://github.com/python-trio/trio/blob/94562c54d241859eb05ed85c88fd6073d6752ff6/trio/_core/_traps.py#L12-L21

[issue36921] Deprecate yield from and @coroutine in asyncio

2020-06-23 Thread Josh Rosenberg
Josh Rosenberg added the comment: Was this supposed to deprecate using types.coroutine as a decorator as well? Because that's not clearly documented, which means people can still use it to make generator-based coroutines without async def. -- nosy: +josh.r

[issue36921] Deprecate yield from and @coroutine in asyncio

2019-05-24 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36921] Deprecate yield from and @coroutine in asyncio

2019-05-16 Thread miss-islington
New submission from miss-islington : New changeset 68b34a720485f399e8699235b8f4e08f227dd43b by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-36921: Deprecate @coroutine for sake of async def (GH-13346)

[issue36921] Deprecate yield from and @coroutine in asyncio

2019-05-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +13257 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36921] Deprecate yield from and @coroutine in asyncio

2019-05-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +13246 stage: -> patch review ___ Python tracker ___ ___

[issue36921] Deprecate yield from and @coroutine in asyncio

2019-05-15 Thread Andrew Svetlov
Change by Andrew Svetlov : -- components: asyncio nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Deprecate yield from and @coroutine in asyncio versions: Python 3.8 ___ Python tracker