Skip to content

bpo-24214: Fixed the UTF-8 incremental decoder.#12603

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:utf8-incremental-decoder
Mar 30, 2019
Merged

bpo-24214: Fixed the UTF-8 incremental decoder.#12603
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:utf8-incremental-decoder

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Mar 28, 2019

Copy link
Copy Markdown
Member

The bug occurred when the encoded surrogate character is passed
to the incremental decoder in two chunks.

https://bugs.python.org/issue24214

The bug occurred when the encoded surrogate character is passed
to the incremental decoder in two chunks.
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@serhiy-storchaka
serhiy-storchaka deleted the utf8-incremental-decoder branch March 30, 2019 06:23
@bedevere-bot

Copy link
Copy Markdown

GH-12627 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 30, 2019
The bug occurred when the encoded surrogate character is passed
to the incremental decoder in two chunks.
(cherry picked from commit 7a465cb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Mar 30, 2019
The bug occurred when the encoded surrogate character is passed
to the incremental decoder in two chunks.
(cherry picked from commit 7a465cb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants