Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A possible reference leak in itertools.count() #80611

Closed
ZackerySpytz mannequin opened this issue Mar 26, 2019 · 4 comments
Closed

A possible reference leak in itertools.count() #80611

ZackerySpytz mannequin opened this issue Mar 26, 2019 · 4 comments
Labels
3.7 (EOL) end of life 3.8 (EOL) end of life extension-modules C modules in the Modules dir

Comments

@ZackerySpytz
Copy link
Mannequin

ZackerySpytz mannequin commented Mar 26, 2019

BPO 36430
Nosy @rhettinger, @serhiy-storchaka, @ZackerySpytz, @miss-islington
PRs
  • bpo-36430: Fix a possible reference leak in itertools.count() #12551
  • [3.7] bpo-36430: Fix a possible reference leak in itertools.count(). (GH-12551) #12552
  • [2.7] bpo-36430: Fix a possible reference leak in itertools.count(). (GH-12551) #12554
  • 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 = None
    closed_at = <Date 2019-03-26.08:20:40.834>
    created_at = <Date 2019-03-26.05:36:11.968>
    labels = ['extension-modules', '3.7', '3.8']
    title = 'A possible reference leak in itertools.count()'
    updated_at = <Date 2019-03-26.08:20:40.833>
    user = 'https://github.com/ZackerySpytz'

    bugs.python.org fields:

    activity = <Date 2019-03-26.08:20:40.833>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-03-26.08:20:40.834>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2019-03-26.05:36:11.968>
    creator = 'ZackerySpytz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36430
    keywords = ['patch']
    message_count = 4.0
    messages = ['338853', '338854', '338856', '338859']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'serhiy.storchaka', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['12551', '12552', '12554']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36430'
    versions = ['Python 2.7', 'Python 3.7', 'Python 3.8']

    @ZackerySpytz
    Copy link
    Mannequin Author

    ZackerySpytz mannequin commented Mar 26, 2019

    "long_step" is leaked in itertools_count_impl() if the type->tp_alloc() call fails.

    @ZackerySpytz ZackerySpytz mannequin added 3.7 (EOL) end of life 3.8 (EOL) end of life extension-modules C modules in the Modules dir labels Mar 26, 2019
    @serhiy-storchaka
    Copy link
    Member

    New changeset 0523c39 by Serhiy Storchaka (Zackery Spytz) in branch 'master':
    bpo-36430: Fix a possible reference leak in itertools.count(). (GH-12551)
    0523c39

    @miss-islington
    Copy link
    Contributor

    New changeset e0fe25b by Miss Islington (bot) in branch '3.7':
    bpo-36430: Fix a possible reference leak in itertools.count(). (GH-12551)
    e0fe25b

    @rhettinger
    Copy link
    Contributor

    New changeset c0dce6a by Raymond Hettinger (Miss Islington (bot)) in branch '2.7':
    bpo-36430: Fix a possible reference leak in itertools.count(). (GH-12551) (GH-12554)
    c0dce6a

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 (EOL) end of life extension-modules C modules in the Modules dir
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants