[Async-sig] [ANN] async_generator v1.2 released

Nathaniel Smith njs at pobox.com
Fri Nov 25 05:09:59 EST 2016


On Thu, Nov 24, 2016 at 11:59 PM, Alex Grönholm
<alex.gronholm at nextday.fi> wrote:
> 25.11.2016, 09:25, Nathaniel Smith kirjoitti:
>>
>> On Thu, Nov 24, 2016 at 1:23 PM, Nathaniel Smith <njs at pobox.com> wrote:
>> [...]
>>>>
>>>> One thing I noticed is that there seems to be no way to detect async
>>>> generator functions in your implementation. That is something I would
>>>> want
>>>> to have before switching.
>>>
>>> Good point. That should be pretty trivial to add.
>>
>> Just pushed async_generator v1.3 to PyPI, with new isasyncgen,
>> isasyncgenfunction, and (on 3.6) registration with
>> collections.abc.AsyncGenerator.
>
> And you just *had* to make it incompatible with the async generators from
> asyncio_extras? "_is_async_gen_function" vs "_is_async_generator"?
> I thought we agreed on cooperating?

I started doing that, but... it's not an async generator, isasyncgen
is a different inspect function...

-n

-- 
Nathaniel J. Smith -- https://vorpus.org


More information about the Async-sig mailing list