mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Overallocate target buffer for normalization more early. Fixes #834676.
Backported to 2.3.
This commit is contained in:
parent
85c20a41df
commit
d2171d2ba4
2 changed files with 10 additions and 5 deletions
|
@ -84,5 +84,8 @@ def test_main():
|
|||
continue
|
||||
assert X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c
|
||||
|
||||
# Check for bug 834676
|
||||
normalize('NFC',u'\ud55c\uae00')
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue