Skip to content

add a Generator ABC #68206

@scoder

Description

@scoder
BPO 24018
Nosy @gvanrossum, @rhettinger, @pitrou, @scoder, @vstinner, @ambv, @vadmium, @1st1
Files
  • generator_abc.patch: implementation of a Generator ABC
  • generator_abc.patch: updated patch that improves close() implementation and test coverage
  • generator_abc.patch: updated patch: check GeneratorExit propagation
  • inspect_docs.patch: update inspect docs to state that isinstance() is better than isgenerator()
  • generator_abc.patch: updated implementation: make throw() abstract
  • 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/rhettinger'
    closed_at = <Date 2015-05-09.05:08:15.882>
    created_at = <Date 2015-04-20.19:36:25.857>
    labels = ['type-feature', 'library']
    title = 'add a Generator ABC'
    updated_at = <Date 2015-05-09.18:38:11.022>
    user = 'https://github.com/scoder'

    bugs.python.org fields:

    activity = <Date 2015-05-09.18:38:11.022>
    actor = 'gvanrossum'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2015-05-09.05:08:15.882>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2015-04-20.19:36:25.857>
    creator = 'scoder'
    dependencies = []
    files = ['39151', '39156', '39157', '39180', '39213']
    hgrepos = []
    issue_num = 24018
    keywords = ['patch']
    message_count = 36.0
    messages = ['241675', '241677', '241681', '241682', '241683', '241692', '241700', '241701', '241702', '241703', '241704', '241705', '241716', '241717', '241723', '241725', '241736', '241846', '241956', '241993', '242054', '242071', '242072', '242077', '242087', '242094', '242102', '242104', '242445', '242612', '242794', '242796', '242797', '242798', '242826', '242827']
    nosy_count = 10.0
    nosy_names = ['gvanrossum', 'rhettinger', 'pitrou', 'scoder', 'vstinner', 'lukasz.langa', 'python-dev', 'Ludovic.Gasc', 'martin.panter', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue24018'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions