-
-
Notifications
You must be signed in to change notification settings - Fork 33k
gh-76535: Add PyUCS4_ToLower() function #139333
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
Conversation
Make `PyUnicode_ToLowerFull`, `PyUnicode_ToUpperFull` and `PyUnicode_ToTitleFull` public and rename them to `PyUnicode_ToLower` etc.
Co-authored-by: Victor Stinner <[email protected]>
* The Unicode database has been updated to Unicode 17.0.0. | ||
|
||
|
||
unicodedata |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this duplicated?
*str_size*, *buf_size* and the result are number of UCS-4 characters. | ||
In Unicode 16.0, any character can be lowercased into a buffer of *buf_size* ``2``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this (specifying 16.0.0) may be confusing for readers since we compile UCD version 17.0 in unicodedata.
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
This API didn't get much traction. I prefer to abandon it. The API is being discussed at capi-workgroup/decisions#71. |
📚 Documentation preview 📚: https://cpython-previews--139333.org.readthedocs.build/