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

instancemethod_descr_get() lacks an INCREF #47213

Closed
scoder opened this issue May 25, 2008 · 2 comments
Closed

instancemethod_descr_get() lacks an INCREF #47213

scoder opened this issue May 25, 2008 · 2 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@scoder
Copy link
Contributor

scoder commented May 25, 2008

BPO 2964
Nosy @birkenfeld, @scoder
Files
  • instancemethod-fix.patch: Patch that adds the missing INCREF
  • 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 2008-05-25.09:24:46.752>
    created_at = <Date 2008-05-25.09:09:28.878>
    labels = ['interpreter-core', 'type-crash']
    title = 'instancemethod_descr_get() lacks an INCREF'
    updated_at = <Date 2008-05-25.09:24:46.724>
    user = 'https://github.com/scoder'

    bugs.python.org fields:

    activity = <Date 2008-05-25.09:24:46.724>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-05-25.09:24:46.752>
    closer = 'georg.brandl'
    components = ['Interpreter Core']
    creation = <Date 2008-05-25.09:09:28.878>
    creator = 'scoder'
    dependencies = []
    files = ['10434']
    hgrepos = []
    issue_num = 2964
    keywords = ['patch']
    message_count = 2.0
    messages = ['67334', '67336']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'scoder']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue2964'
    versions = ['Python 3.0']

    @scoder
    Copy link
    Contributor Author

    scoder commented May 25, 2008

    Here is a fix for Objects/classobject.c in Py3.0a5 that fixes a ref
    count crash for classmethods.

    @scoder scoder added interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump labels May 25, 2008
    @birkenfeld
    Copy link
    Member

    Thanks, fixed in r63620.

    @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
    interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants