Skip to content

gh-142217: Deprecate the private _Py_Identifier C API - #142221

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:deprecate_id
Dec 12, 2025
Merged

gh-142217: Deprecate the private _Py_Identifier C API#142221
vstinner merged 2 commits into
python:mainfrom
vstinner:deprecate_id

Conversation

@vstinner

@vstinnervstinner commented Dec 3, 2025

Copy link
Copy Markdown
Member

Deprecate functions:

  • _PyObject_CallMethodId()
  • _PyObject_GetAttrId()
  • _PyUnicode_FromId()

📚 Documentation preview 📚: https://cpython-previews--142221.org.readthedocs.build/

Deprecate functions:
* _PyObject_CallMethodId()
* _PyObject_GetAttrId()
* _PyUnicode_FromId()
@vstinner

Copy link
Copy Markdown
MemberAuthor

cc @encukou@ZeroIntensity

@ZeroIntensityZeroIntensity left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vstinner
vstinner merged commit 7aa353c into python:mainDec 12, 2025
50 checks passed
@vstinner
vstinner deleted the deprecate_id branch December 12, 2025 13:10
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@ZeroIntensity