Skip to content

[C API] Add Py_NewRef() function to get a new strong reference to an object #86428

Closed
@vstinner

Description

@vstinner
BPO 42262
Nosy @vstinner, @erlend-aasland
PRs
  • bpo-42262: Add Py_NewRef() function #23152
  • bpo-42262: Py_NewRef() casts its argument to PyObject* #23626
  • 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 2020-11-05.14:11:51.499>
    created_at = <Date 2020-11-04.16:20:34.933>
    labels = ['expert-C-API', '3.10']
    title = '[C API] Add Py_NewRef() function to get a new strong reference to an object'
    updated_at = <Date 2020-12-03.13:01:17.892>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-12-03.13:01:17.892>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-11-05.14:11:51.499>
    closer = 'vstinner'
    components = ['C API']
    creation = <Date 2020-11-04.16:20:34.933>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42262
    keywords = ['patch']
    message_count = 4.0
    messages = ['380337', '380339', '380409', '382407']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'hodgestar', 'erlendaasland']
    pr_nums = ['23152', '23626']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue42262'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions