]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-24214: Fixed the UTF-8 incremental decoder. (GH-12603)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 30 Mar 2019 06:23:38 +0000 (08:23 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Mar 2019 06:23:38 +0000 (08:23 +0200)
commit7a465cb5ee7e298cae626ace1fc3e7d97df79f2e
tree82c7fc3122ba18119b236bbdfa7a1e55fe196108
parent38f4e468d4b55551e135c67337c18ae142193ba8
bpo-24214: Fixed the UTF-8 incremental decoder. (GH-12603)

The bug occurred when the encoded surrogate character is passed
to the incremental decoder in two chunks.
Lib/test/test_codecs.py
Misc/NEWS.d/next/Core and Builtins/2019-03-28-15-22-45.bpo-24214.tZ6lYU.rst [new file with mode: 0644]
Objects/unicodeobject.c