update to Unicode 18.0.0 - #75
Conversation
Backport CPython's derived-name ranges (#144789) and Unicode 18 additions (#157634), including Tangut, Jurchen and Small Seal names.
4fb4fa3 to
7355c59
Compare
|
Most of this diff is regenerated Unicode tables. The version bumps, checksum update and adjustments to existing test code points are mechanical too. The part worth reviewing more closely is the derived-name handling in makeunicodedata.py and unicodedata.c, backported from python/cpython#144789 and python/cpython#157634. This replaces the hard-coded CJK ranges with generated ranges and extends name()/lookup() to Jurchen and Small Seal, also fixing the older Tangut naming gap. Just regenerating the tables with the old code would leave these names missing. The local adaptations use |
Technically this isn't specific to Unicode 18: with Unicode 17, |
This updates the generated tables to Unicode 18.0.0 and backports CPython's derived-name ranges (python/cpython#144789, python/cpython#157634), adding name()/lookup() support for Tangut, Jurchen and Small Seal characters.