[issue44963] anext_awaitable is not a collections.abc.Generator

2021-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-09-07 Thread miss-islington
miss-islington added the comment: New changeset adc80a58f9683468e0ba5a6eed72040f7f6ba405 by Miss Islington (bot) in branch '3.10': bpo-44963: Implement send() and throw() methods for anext_awaitable objects (GH-27955) https://github.com/python/cpython/commit/adc80a58f9683468e0ba5a6eed72040f7

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +26623 pull_request: https://github.com/python/cpython/pull/28198 ___ Python tracker _

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 533e725821b15e2df2cd4479a34597c1d8faf616 by Pablo Galindo Salgado in branch 'main': bpo-44963: Implement send() and throw() methods for anext_awaitable objects (GH-27955) https://github.com/python/cpython/commit/533e725821b15e2df2cd4479a

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +26401 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27955 ___ Python tracker __

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-25 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am marking this as a release blocker, given that this is probably going to trip a lot of users. -- priority: normal -> release blocker ___ Python tracker _

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-21 Thread Thomas Grainger
Change by Thomas Grainger : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +asvetlov, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-20 Thread Thomas Grainger
Thomas Grainger added the comment: it also fails with asyncio.create_task ``` import asyncio async def agen(): yield async def main(): p = agen() await asyncio.create_task(anext(p, 'finished')) asyncio.run(main()) ``` ``` Traceback (most recent call last): File "/home/grainge

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-20 Thread Joshua Bronson
Change by Joshua Bronson : -- nosy: +jab ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue44963] anext_awaitable is not a collections.abc.Generator

2021-08-20 Thread Daniel Pope
New submission from Daniel Pope : The anext_awaitable object returned by anext(..., default) does not support .send()/.throw(). It only supports __next__(). So we can pass messages from the suspending coroutine to the event loop but not from the event loop to the suspending coroutine. trio a