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

[curses.panel] Failed panel.set_userptr will decrement refcount of original userptr #85770

Closed
madebr mannequin opened this issue Aug 21, 2020 · 4 comments
Closed

[curses.panel] Failed panel.set_userptr will decrement refcount of original userptr #85770

madebr mannequin opened this issue Aug 21, 2020 · 4 comments
Labels
3.8 only security fixes 3.9 only security fixes 3.10 only security fixes stdlib Python modules in the Lib dir

Comments

@madebr
Copy link
Mannequin

madebr mannequin commented Aug 21, 2020

BPO 41604
Nosy @serhiy-storchaka, @miss-islington, @madebr
PRs
  • bpo-41604: Don't decrement the reference count of the previous user_ptr when set_panel_usertpr fails #21933
  • [3.9] bpo-41604: Don't decrement the reference count of the previous user_ptr when set_panel_usertpr fails (GH-21933). #24403
  • [3.8] [3.9] bpo-41604: Don't decrement the reference count of the previous user_ptr when set_panel_usertpr fails (GH-21933). (GH-24403) #24406
  • 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 2021-01-31.20:52:12.966>
    created_at = <Date 2020-08-21.00:16:10.958>
    labels = ['3.8', 'library', '3.9', '3.10']
    title = '[curses.panel] Failed panel.set_userptr  will decrement refcount of original userptr'
    updated_at = <Date 2021-01-31.20:52:12.965>
    user = 'https://github.com/madebr'

    bugs.python.org fields:

    activity = <Date 2021-01-31.20:52:12.965>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-01-31.20:52:12.966>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2020-08-21.00:16:10.958>
    creator = 'maarten'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41604
    keywords = ['patch']
    message_count = 4.0
    messages = ['375738', '386031', '386039', '386041']
    nosy_count = 3.0
    nosy_names = ['serhiy.storchaka', 'miss-islington', 'maarten']
    pr_nums = ['21933', '24403', '24406']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue41604'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    @madebr
    Copy link
    Mannequin Author

    madebr mannequin commented Aug 21, 2020

    When ncurses' function set_panel_userptr fails,
    panel.set_userptr should not decrement the reference count of the previous userptr.

    @madebr madebr mannequin added 3.7 (EOL) end of life 3.10 only security fixes 3.8 only security fixes 3.9 only security fixes stdlib Python modules in the Lib dir labels Aug 21, 2020
    @serhiy-storchaka
    Copy link
    Member

    New changeset 3243e8a by Anonymous Maarten in branch 'master':
    bpo-41604: Don't decrement the reference count of the previous user_ptr when set_panel_usertpr fails (GH-21933)
    3243e8a

    @serhiy-storchaka
    Copy link
    Member

    New changeset 3c8d693 by Serhiy Storchaka in branch '3.9':
    [3.9] bpo-41604: Don't decrement the reference count of the previous user_ptr when set_panel_usertpr fails (GH-21933). (GH-24403)
    3c8d693

    @miss-islington
    Copy link
    Contributor

    New changeset 931263b by Miss Islington (bot) in branch '3.8':
    [3.9] bpo-41604: Don't decrement the reference count of the previous user_ptr when set_panel_usertpr fails (GH-21933). (GH-24403)
    931263b

    @serhiy-storchaka serhiy-storchaka removed the 3.7 (EOL) end of life label Jan 31, 2021
    @serhiy-storchaka serhiy-storchaka removed the 3.7 (EOL) end of life label Jan 31, 2021
    @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.8 only security fixes 3.9 only security fixes 3.10 only security fixes stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants