This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author RekGRpth
Recipients RekGRpth, gvanrossum, yselivanov
Date 2016-11-23.04:58:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479877132.48.0.693527153069.issue28777@psf.upfronthosting.co.za>
In-reply-to
Content
adding to asyncio.Queue class following methods:
    def __aiter__(self): return self
    async def __anext__(self): return await self.get()
let use asyncio.Queue follow:
    queue = asyncio.Queue()
    ...
    async for item in queue: do_something_with(item)
History
Date User Action Args
2016-11-23 04:58:52RekGRpthsetrecipients: + RekGRpth, gvanrossum, yselivanov
2016-11-23 04:58:52RekGRpthsetmessageid: <1479877132.48.0.693527153069.issue28777@psf.upfronthosting.co.za>
2016-11-23 04:58:52RekGRpthlinkissue28777 messages
2016-11-23 04:58:51RekGRpthcreate