summaryrefslogtreecommitdiffstats
path: root/Tools/unicode
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2020-03-11 03:41:34 (GMT)
committerGitHub <noreply@github.com>2020-03-11 03:41:34 (GMT)
commit051b9d08d1e6a8b1022a2bd9166be51c0b152698 (patch)
tree3f7eb694da64c60b304d073bac8cf703cbbc8f5f /Tools/unicode
parent76d5877b72cbe66eb3b6d8caa8d19f89a938ada2 (diff)
downloadcpython-051b9d08d1e6a8b1022a2bd9166be51c0b152698.zip
cpython-051b9d08d1e6a8b1022a2bd9166be51c0b152698.tar.gz
cpython-051b9d08d1e6a8b1022a2bd9166be51c0b152698.tar.bz2
closes bpo-39926: Update Unicode to 13.0.0. (GH-18910)
Diffstat (limited to 'Tools/unicode')
-rw-r--r--Tools/unicode/makeunicodedata.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py
index a8e92be..c9fcd83 100644
--- a/Tools/unicode/makeunicodedata.py
+++ b/Tools/unicode/makeunicodedata.py
@@ -44,7 +44,7 @@ VERSION = "3.3"
# * Doc/library/stdtypes.rst, and
# * Doc/library/unicodedata.rst
# * Doc/reference/lexical_analysis.rst (two occurrences)
-UNIDATA_VERSION = "12.1.0"
+UNIDATA_VERSION = "13.0.0"
UNICODE_DATA = "UnicodeData%s.txt"
COMPOSITION_EXCLUSIONS = "CompositionExclusions%s.txt"
EASTASIAN_WIDTH = "EastAsianWidth%s.txt"
@@ -100,13 +100,14 @@ EXTENDED_CASE_MASK = 0x4000
# these ranges need to match unicodedata.c:is_unified_ideograph
cjk_ranges = [
- ('3400', '4DB5'),
- ('4E00', '9FEF'),
- ('20000', '2A6D6'),
+ ('3400', '4DBF'),
+ ('4E00', '9FFC'),
+ ('20000', '2A6DD'),
('2A700', '2B734'),
('2B740', '2B81D'),
('2B820', '2CEA1'),
('2CEB0', '2EBE0'),
+ ('30000', '3134A'),
]