On Thu, Nov 24, 2016 at 11:59 PM, Alex Grönholm <alex.gronh...@nextday.fi> wrote: > 25.11.2016, 09:25, Nathaniel Smith kirjoitti: >> >> On Thu, Nov 24, 2016 at 1:23 PM, Nathaniel Smith <n...@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 _______________________________________________ Async-sig mailing list Async-sig@python.org https://mail.python.org/mailman/listinfo/async-sig Code of Conduct: https://www.python.org/psf/codeofconduct/