Skip to content

Comments

gh-105156: Update Unicode C API: remove deprecation#105379

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:unicode_doc
Jun 6, 2023
Merged

gh-105156: Update Unicode C API: remove deprecation#105379
vstinner merged 1 commit intopython:mainfrom
vstinner:unicode_doc

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 6, 2023

_PyUnicode_ToLowercase(), _PyUnicode_ToUppercase(), _PyUnicode_ToTitlecase() are no longer deprecated in the documentation. It's no longer needed since they now use Py_UCS4 type, rather than the deprecated Py_UNICODE type.


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

_PyUnicode_ToLowercase(), _PyUnicode_ToUppercase(),
_PyUnicode_ToTitlecase() are no longer deprecated in the
documentation. It's no longer needed since they now use Py_UCS4 type,
rather than the deprecated Py_UNICODE type.
@vstinner
Copy link
Member Author

vstinner commented Jun 6, 2023

I already removed Py_DEPRECATED(3.3) in the header file in commit 7d07e58.

@vstinner vstinner merged commit 0418196 into python:main Jun 6, 2023
@vstinner vstinner deleted the unicode_doc branch June 6, 2023 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants