-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[C API] Deprecate private functions which have a public replacement #128863
Labels
Comments
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Jan 15, 2025
* _PyBytes_Join() * _PyThreadState_UncheckedGet() * _Py_HashPointer() * _Py_fopen_obj() Replace _Py_HashPointer() with Py_HashPointer().
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Jan 15, 2025
* _PyBytes_Join() * _PyThreadState_UncheckedGet() * _PyUnicode_AsString() * _Py_HashPointer() * _Py_fopen_obj() Replace _Py_HashPointer() with Py_HashPointer(). Remove references to deprecated functions.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Jan 15, 2025
* _PyBytes_Join() * _PyDict_GetItemStringWithError() * _PyThreadState_UncheckedGet() * _PyUnicode_AsString() * _Py_HashPointer() * _Py_fopen_obj() Replace _Py_HashPointer() with Py_HashPointer(). Remove references to deprecated functions.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Jan 15, 2025
* _PyBytes_Join() * _PyDict_GetItemStringWithError() * _PyDict_Pop() * _PyThreadState_UncheckedGet() * _PyUnicode_AsString() * _Py_HashPointer() * _Py_fopen_obj() Replace _Py_HashPointer() with Py_HashPointer(). Remove references to deprecated functions.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Jan 15, 2025
* _PyBytes_Join() * _PyDict_GetItemStringWithError() * _PyDict_Pop() * _PyThreadState_UncheckedGet() * _PyUnicode_AsString() * _Py_HashPointer() * _Py_fopen_obj() Replace _Py_HashPointer() with Py_HashPointer(). Remove references to deprecated functions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Python 3.13 and 3.14 added public functions to replace private functions. For example, a public function
PyBytes_Join()
was added to replace the private function_PyBytes_Join()
.I propose to deprecate the private functions which have a public replacement, and remove them in Python 3.16.
Victor
Linked PRs
The text was updated successfully, but these errors were encountered: