Instructions for only bumping the Unicode version:
- In
makeunicodedata.py:- Modify
UNIDATA_VERSIONto applicable version. - Update
cjk_rangesto match new Unicode version data.
- Modify
- In
unicodedata.c:- Update
is_unified_ideograph()to match new Unicode version data.
- Update
- Run
makeunicodedata.py. - Add some test cases to
test_unicodedataplus.py.
unicodedata.c.h (and unicodedata.3.12.c.h) are built using cpython's Argument Clinic.
To generate them, make sure the cpython repo is cloned somewhere, and run ./generate_headers.sh path_to_cpython_repo