classification
Title: Add collections.abc.AsyncGenerator
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: yselivanov Nosy List: gvanrossum, ned.deily, python-dev, yselivanov
Priority: release blocker Keywords: patch

Created on 2016-11-16 21:30 by yselivanov, last changed 2016-11-16 23:26 by yselivanov. This issue is now closed.

Files
File name Uploaded Description Edit
agen_abc.patch yselivanov, 2016-11-16 21:32 review
Messages (4)
msg280993 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2016-11-16 21:30
This patch adds collections.abc.AsyncGenerator (closely modelled after collections.abc.Generator).

Ned, is it OK if this goes into 3.6?  This is something I completely forgot to do as part of PEP 525.  This ABC is needed for asynchronous generators compiled with Cython and async-generator-like objects/wrappers.

I'll update the PEP if we can push this to 3.6.
msg281003 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2016-11-16 22:31
OK for 3.6.0b4
msg281012 - (view) Author: Roundup Robot (python-dev) Date: 2016-11-16 23:25
New changeset ae1dba7e7d04 by Yury Selivanov in branch '3.6':
Issue #28720: Add collections.abc.AsyncGenerator.
https://hg.python.org/cpython/rev/ae1dba7e7d04

New changeset fb9c8fdef3ec by Yury Selivanov in branch 'default':
Merge 3.6 (issue #28720)
https://hg.python.org/cpython/rev/fb9c8fdef3ec
msg281013 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2016-11-16 23:26
Thanks Ned. I went ahead and committed the patch.
History
Date User Action Args
2016-11-16 23:26:32yselivanovsetmessages: + msg281013
2016-11-16 23:26:07yselivanovsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2016-11-16 23:25:56python-devsetnosy: + python-dev
messages: + msg281012
2016-11-16 22:31:52ned.deilysetmessages: + msg281003
2016-11-16 21:32:01yselivanovsetfiles: + agen_abc.patch
2016-11-16 21:31:51yselivanovsetfiles: - agen_abc.patch
2016-11-16 21:30:05yselivanovcreate