FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-74902: Add Unicode Grapheme Cluster Break algorithm (GH-143076) by StanFromIreland · Pull Request #148247 · python/cpython · GitHub

Repository navigation

[3.14] gh-74902: Add Unicode Grapheme Cluster Break algorithm (GH-143076) - #148247

Closed
StanFromIreland wants to merge 3 commits into
python:3.14from
StanFromIreland:backport-bab1d7a-3.14
Closed

StanFromIreland wants to merge 3 commits into
python:3.14from
StanFromIreland:backport-bab1d7a-3.14

Conversation

StanFromIreland commented Apr 8, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

Add the unicodedata._iter_graphemes() function to iterate over grapheme clusters according to rules defined in Unicode Standard Annex #29.

Add unicodedata._grapheme_cluster_break(), unicodedata._indic_conjunct_break() and unicodedata._extended_pictographic() functions to get the properties of the character which are related to the above algorithm.

(cherry picked from commits bab1d7a, 85013d7 and 58ccf21)

serhiy-storchaka and others added 3 commits April 8, 2026 13:21
…ythonGH-143076)

Add the unicodedata.iter_graphemes() function to iterate over grapheme
clusters according to rules defined in Unicode Standard Annex #29.

Add unicodedata.grapheme_cluster_break(), unicodedata.indic_conjunct_break()
and unicodedata.extended_pictographic() functions to get the properties
of the character which are related to the above algorithm.
(cherry picked from commit bab1d7a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Guillaume "Vermeille" Sanchez <guillaume.v.sanchez@gmail.com>

StanFromIreland commented Apr 8, 2026 •
edited
Loading

Copy link
Copy Markdown
Member Author

This is an alternative proposal for #148218.

This would also require updating testpython.net with the file for UCD 16. Due to this, the network test currently fails.

vstinner commented Apr 8, 2026

Copy link
Copy Markdown
Member

I don't think that it's a good idea to backport so much code in a stable branch. I don't think that fixing the issue in Python 3.14 is important enough to justify this backport. Python had this bug for many years.

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

github-actions Bot added the stale Stale PR or inactive for long period of time. label May 9, 2026
StanFromIreland deleted the backport-bab1d7a-3.14 branch May 12, 2026 19:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO-NOT-MERGE skip news stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL