>
> > While I was reading the documentation of asyn generators,
> > which shows the following example:
> >
> > async def ticker(delay, to):
> > """Yield numbers from 0 to *to* every *delay* seconds."""
> > for i in range(to):
> > yield i
> > await asyncio.sleep(delay)
> >
>
I don't get it. You show one example then another unrelated example? That
doesn't make anything clear to me at least.
> On 14 Sep 2019, at 17:24, George Fischhof wrote:
>
> Hi All,
>
> While I was reading the documentation of asyn generators,
> which shows the following example:
>
> async
On Sat, 14 Sep 2019 at 16:26, George Fischhof wrote:
> Hi All,
>
> While I was reading the documentation of asyn generators,
> which shows the following example:
>
>
> async def ticker(delay, to):
> """Yield numbers from 0 to *to* every *delay* seconds."""
> for i in range(to):
>
Hi All,
While I was reading the documentation of asyn generators,
which shows the following example:
async def ticker(delay, to):
"""Yield numbers from 0 to *to* every *delay* seconds."""
for i in range(to):
yield i
await asyncio.sleep(delay)
It's came to my mind that
On 9/14/19 6:35 AM, Steven D'Aprano wrote:
Am I the only one seeing two copies of each of Andrew Barnert's replies?
No.
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
Am I the only one seeing two copies of each of Andrew Barnert's replies?
--
Steven
___
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
I prefer keeping it as a separate library on PyPI.
On Sat, Sep 14, 2019 at 12:26 AM Juan Telleria wrote:
>
> Could sspipe module be included as part of Python's Standard Library?
>
> https://sspipe.github.io/
>
> https://github.com/sspipe/sspipe
>
> https://pypi.org/project/sspipe/
>
> sspipe