FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-142217: Remove internal _Py_Identifier functions by vstinner · Pull Request #142219 · python/cpython · GitHub

Repository navigation

gh-142217: Remove internal _Py_Identifier functions - #142219

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:remove_id
Dec 3, 2025
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:remove_id

Conversation

vstinner commented Dec 3, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Remove internal functions:

  • _PyDict_ContainsId()
  • _PyDict_DelItemId()
  • _PyDict_GetItemIdWithError()
  • _PyDict_SetItemId()
  • _PyEval_GetBuiltinId()
  • _PyObject_CallMethodIdNoArgs()
  • _PyObject_CallMethodIdObjArgs()
  • _PyObject_CallMethodIdOneArg()
  • _PyObject_VectorcallMethodId()
  • _PyUnicode_EqualToASCIIId()

These functions were not exported and so no usable outside CPython.

Remove internal functions:

* _PyDict_ContainsId()
* _PyDict_DelItemId()
* _PyDict_GetItemIdWithError()
* _PyDict_SetItemId()
* _PyEval_GetBuiltinId()
* _PyObject_CallMethodIdNoArgs()
* _PyObject_CallMethodIdObjArgs()
* _PyObject_CallMethodIdOneArg()
* _PyObject_VectorcallMethodId()
* _PyUnicode_EqualToASCIIId()

These functions were not exported and so no usable outside CPython.
vstinner merged commit 7e5fcae into python:main Dec 3, 2025
87 of 93 checks passed
vstinner deleted the remove_id branch December 3, 2025 13:33

vstinner commented Dec 3, 2025

Copy link
Copy Markdown
Member Author

These functions were basically dead code since they are no longer used in Python, and cannot be used outside Python.

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
)

Remove internal functions:

* _PyDict_ContainsId()
* _PyDict_DelItemId()
* _PyDict_GetItemIdWithError()
* _PyDict_SetItemId()
* _PyEval_GetBuiltinId()
* _PyObject_CallMethodIdNoArgs()
* _PyObject_CallMethodIdObjArgs()
* _PyObject_CallMethodIdOneArg()
* _PyObject_VectorcallMethodId()
* _PyUnicode_EqualToASCIIId()

These functions were not exported and so no usable outside CPython.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL