[Python-Dev] Re: Implementing async enumerate

2021-05-30 Thread Thomas Grainger
https://aiostream.readthedocs.io/en/stable/operators.html#aiostream.stream.enumerate Is a nice version of an async enumerate. It also handles aclosing ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@p

[Python-Dev] Re: Implementing async enumerate

2021-05-25 Thread Victor Stinner
Hi, I suggest to put such function in a Python module and publish it on PyPI. I'm sure that the module will quickly grow with more async flavor of existing functions. Victor On Tue, May 25, 2021 at 4:22 AM Filipe Alves Caixeta wrote: > > Hello, > > Python 3.10 comes with the built-in anext() bu