Skip to content

itertools.islice() doesn't release reference to the source iterator when the slice is exhausted #65520

@AntonAfanasyev

Description

@AntonAfanasyev
BPO 21321
Nosy @rhettinger, @pitrou
Files
  • issue21321_3.4_8c8315bac6a8.diff
  • issue21321_2.7_e3217efa6edd.diff
  • issue21321_3.4_8c8315bac6a8_2.diff
  • issue21321_2.7_e3217efa6edd_3.diff
  • issue21321_3.4_8c8315bac6a8_3.diff
  • issue21321_2.7_e3217efa6edd_4.diff
  • issue21321_3.4_8c8315bac6a8_4.diff
  • issue21321_3.4_8c8315bac6a8_5.diff
  • 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 2014-04-29.10:27:27.284>
    created_at = <Date 2014-04-21.12:13:50.306>
    labels = ['extension-modules', 'performance']
    title = "itertools.islice() doesn't release reference to the source iterator when the slice is exhausted"
    updated_at = <Date 2014-04-29.10:27:27.284>
    user = 'https://bugs.python.org/AntonAfanasyev'

    bugs.python.org fields:

    activity = <Date 2014-04-29.10:27:27.284>
    actor = 'pitrou'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2014-04-29.10:27:27.284>
    closer = 'pitrou'
    components = ['Extension Modules']
    creation = <Date 2014-04-21.12:13:50.306>
    creator = 'Anton.Afanasyev'
    dependencies = []
    files = ['34990', '34991', '35003', '35076', '35077', '35086', '35087', '35091']
    hgrepos = []
    issue_num = 21321
    keywords = ['patch']
    message_count = 17.0
    messages = ['216939', '216940', '216992', '217014', '217180', '217407', '217410', '217411', '217474', '217495', '217503', '217504', '217505', '217506', '217508', '217509', '217510']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'pitrou', 'python-dev', 'Anton.Afanasyev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue21321'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirperformancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions