Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 3, 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.

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 vstinner merged commit 7e5fcae into python:main Dec 3, 2025
87 of 93 checks passed
@vstinner vstinner deleted the remove_id branch December 3, 2025 13:33
@vstinner
Copy link
Member Author

vstinner commented Dec 3, 2025

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

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