-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Remove PyUnicode_READY
in unicodeobject.h
#125449
Comments
Unless there is a real need to remove public macros/functions, even if they are useless, we usually don't do it. We don't want to un-necessarily break code that are still using them (the maintenance cost does not seem that hard). cc @vstinner |
As far as I investigated. In the master branch, there is no file using it. Edit: |
Yes, but what about external code? it's located in a header, so anyone can include them. The pending removal section has no planned removal date so unless there is a real need to remove it, we should first plan when it should be removed. |
Please keep this function. I suggest to close the issue. A code search on |
Feature or enhancement
Proposal:
# Add a code block here, if required
In https://github.com/python/cpython/blob/main/Doc/deprecations/c-api-pending-removal-in-future.rst.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
PyUnicode_READY
function inunicodeobject.h
#125450The text was updated successfully, but these errors were encountered: