[Python-ideas] PEP 530: Asynchronous Comprehensions

srinivas devaki mr.eightnoteight at gmail.com
Mon Sep 5 23:46:49 EDT 2016


On Tue, Sep 6, 2016 at 6:46 AM, Yury Selivanov <yselivanov.ml at gmail.com> wrote:
> Hi Sven,
>
> I doubt that anybody ever would write something like that; this is just
> examples of what the PEP will enable.
using the same object as iterator and async generator, may be not.
but isn't it good to write code for sync iteration and async iteration
in the same class?
so that if I'm writing a library, I can say that the library supports both.

Junior (3rd yr) student at Indian School of Mines,(IIT Dhanbad)
Computer Science and Engineering Department
ph: +91 9491 383 249
telegram_id: @eightnoteight


More information about the Python-ideas mailing list