-
-
Notifications
You must be signed in to change notification settings - Fork 33k
gh-54874: Expand unicodedata module documentation #138301
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
Co-authored-by: Alexander Belopolsky <[email protected]>
@malemburg FYI you are not a CODEOWNER for this file, you may miss pull requests. |
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.
LGTM
|
||
The normal form KD (NFKD) will apply the compatibility decomposition, i.e. | ||
The normal form KD (NFKD) will apply the compatibility decomposition, that is, | ||
replace all compatibility characters with their equivalents. The normal form KC |
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 don't think we should stop using "e.g." and "i.e." in the docs, but if you think this reads better, I don't mind either.
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.
According to the new docs style guide (created ~last year by the EB IIRC), the abbreviations should not be used. See the devguide for more information.
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.
Fair enough.
I know and I have thought about adding me there, but this would result in way too many review requests, I'm afraid. I only have limited time available for this and sometimes with longer gaps. |
Thanks @StanFromIreland for the PR, and @malemburg for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @StanFromIreland for the PR, and @malemburg for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
) Closes pythonGH-54874 (cherry picked from commit 0d383f8) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Alexander Belopolsky <[email protected]>
) Closes pythonGH-54874 (cherry picked from commit 0d383f8) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Alexander Belopolsky <[email protected]>
GH-138345 is a backport of this pull request to the 3.13 branch. |
GH-138346 is a backport of this pull request to the 3.14 branch. |
@StanFromIreland Is it safe to back this to 3.13 and 3.14 ? |
3.14 yes, it is compiled with UCD 16.0.0, as for 3.13, I'll push changes to the backport since it has UCD 15.1.0 |
…138345) * gh-54874: Expand unicodedata module documentation (GH-138301) Closes GH-54874 (cherry picked from commit 0d383f8) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Alexander Belopolsky <[email protected]> * Changes links to UCD 15.0.0 --------- Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Alexander Belopolsky <[email protected]>
Thanks, @StanFromIreland . I merged the 3.13 backport, but the 3.14 branch seems blocked at the moment. |
Thanks! Yes, 3.14 is limited to the RM (Hugo) at the moment IIUC. |
Closes python#54874 Co-authored-by: Alexander Belopolsky <[email protected]>
…138346) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Alexander Belopolsky <[email protected]>
Based on @albakin 's patch, using only Latin-1 characters in the text per the issue discussion, and instead of reproducing tables from the UCD, link directly to them.
📚 Documentation preview 📚: https://cpython-previews--138301.org.readthedocs.build/