Skip to content

[C API] Add Py_SETREF() and Py_XSETREF() macros to the limited C API 3.16 #158842

Description

@vstinner

See the capi-workgroup/decisions#110 and the previous issue gh-99574 for the rationale.

The change has been approved by the C API Working Group.

Linked PRs

Activity

  1. changed the title [-]Add Py_SETREF() and Py_XSETREF() macros to the limited C API 3.16[/-] [+][C API] Add Py_SETREF() and Py_XSETREF() macros to the limited C API 3.16[/+] on Oct 5, 2026
  2. added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)
    type-featureA feature request or enhancement
    on Oct 5, 2026
  3. picnixz commented on Oct 5, 2026

    @picnixz
    Member

    I'm still going to add the type-feature label so forgive me in advance if this blocks your PR :)

  4. added a commit that references this issue on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions