]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) (GH...
authorXiang Zhang <angwerzx@126.com>
Fri, 15 Jun 2018 13:26:55 +0000 (21:26 +0800)
committerGitHub <noreply@github.com>
Fri, 15 Jun 2018 13:26:55 +0000 (21:26 +0800)
commit1889c4cbd62e200fa4cde3d6219e0aadf9bd8149
tree884cddef4342e2ee2ed415b122e65eaea83f5789
parentfc8ea20c6f8571de96791bc5f7f2d693406024c7
bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) (GH-7704)

Hangul composition check boundaries are wrong for the second character
([0x1161, 0x1176) instead of [0x1161, 0x1176]) and third character ((0x11A7, 0x11C3)
instead of [0x11A7, 0x11C3])..
(cherry picked from commit d134809cd3764c6a634eab7bb8995e3e2eff14d5)

Co-authored-by: Wonsup Yoon <pusnow@me.com>
Lib/test/test_unicodedata.py
Misc/ACKS
Misc/NEWS.d/next/Library/2017-08-24-17-55-39.bpo-29456.XaB3MP.rst [new file with mode: 0644]
Modules/unicodedata.c