]> granicus.if.org Git - python/commit
bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 15 Jun 2018 12:32:50 +0000 (05:32 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Jun 2018 12:32:50 +0000 (05:32 -0700)
commite2e7ff0d0378ba44f10a1aae10e4bee957fb44d2
tree919761fc9f379aaa176959db394ba078144e72cc
parent142e3c08a40c75b5788474b0defe7d5c0671f675
bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958)

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