Skip to content

[C API] Remove _Py_NewReference() and _Py_ForgetReference() from the public C API #85161

Closed
@vstinner

Description

@vstinner
BPO 40989
Nosy @scoder, @vstinner
PRs
  • bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() #20901
  • bpo-40989: Move _Py_NewReference() to the internal C API #20904
  • bpo-40989: Make _PyTraceMalloc_NewReference() internal #20915
  • bpo-40989: Fix compiler warning in winreg.c #21722
  • 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-09-21.21:57:43.476>
    created_at = <Date 2020-06-15.21:05:35.371>
    labels = ['expert-C-API', '3.10']
    title = '[C API] Remove _Py_NewReference() and _Py_ForgetReference() from the public C API'
    updated_at = <Date 2021-09-21.21:57:43.475>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-09-21.21:57:43.475>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-21.21:57:43.476>
    closer = 'vstinner'
    components = ['C API']
    creation = <Date 2020-06-15.21:05:35.371>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40989
    keywords = ['patch']
    message_count = 11.0
    messages = ['371597', '371600', '371604', '371654', '371656', '371671', '371711', '371715', '374883', '380890', '402377']
    nosy_count = 2.0
    nosy_names = ['scoder', 'vstinner']
    pr_nums = ['20901', '20904', '20915', '21722']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40989'
    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