Skip to content

Add collections.abc.AsyncGenerator #72906

Closed

Description

@1st1
BPO 28720
Nosy @gvanrossum, @ned-deily, @1st1
Files
  • agen_abc.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/1st1'
    closed_at = <Date 2016-11-16.23:26:07.662>
    created_at = <Date 2016-11-16.21:30:05.819>
    labels = ['3.7', 'type-feature', 'library', 'release-blocker']
    title = 'Add collections.abc.AsyncGenerator'
    updated_at = <Date 2016-11-16.23:26:32.019>
    user = 'https://github.com/1st1'

    bugs.python.org fields:

    activity = <Date 2016-11-16.23:26:32.019>
    actor = 'yselivanov'
    assignee = 'yselivanov'
    closed = True
    closed_date = <Date 2016-11-16.23:26:07.662>
    closer = 'yselivanov'
    components = ['Library (Lib)']
    creation = <Date 2016-11-16.21:30:05.819>
    creator = 'yselivanov'
    dependencies = []
    files = ['45513']
    hgrepos = []
    issue_num = 28720
    keywords = ['patch']
    message_count = 4.0
    messages = ['280993', '281003', '281012', '281013']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'ned.deily', 'python-dev', 'yselivanov']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue28720'
    versions = ['Python 3.6', 'Python 3.7']

    Activity

    1. 1st1 commented on Nov 16, 2016

      @1st1
      MemberAuthor

      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.

    2. self-assigned this
      on Nov 16, 2016
    3. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Nov 16, 2016
    4. ned-deily commented on Nov 16, 2016

      @ned-deily
      Member

      OK for 3.6.0b4

    5. python-dev commented on Nov 16, 2016

      python-devmannequin
      Mannequin

      New changeset ae1dba7e7d04 by Yury Selivanov in branch '3.6':
      Issue bpo-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 bpo-28720)
      https://hg.python.org/cpython/rev/fb9c8fdef3ec

    6. 1st1 commented on Nov 16, 2016

      @1st1
      MemberAuthor

      Thanks Ned. I went ahead and committed the patch.

    7. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of liferelease-blockerstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions