Skip to content

[3.9] bpo-45461: Fix IncrementalDecoder and StreamReader in the "unicode-escape" codec (GH-28939)#28945

Merged
serhiy-storchaka merged 2 commits into
python:3.9from
serhiy-storchaka:backport-c96d154-3.9
Oct 14, 2021
Merged

[3.9] bpo-45461: Fix IncrementalDecoder and StreamReader in the "unicode-escape" codec (GH-28939)#28945
serhiy-storchaka merged 2 commits into
python:3.9from
serhiy-storchaka:backport-c96d154-3.9

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Oct 14, 2021

Copy link
Copy Markdown
Member

They support now splitting escape sequences between input chunks.

Add the third parameter "final" in codecs.unicode_escape_decode().
It is True by default to match the former behavior.
(cherry picked from commit c96d154)

https://bugs.python.org/issue45461

…ode-escape" codec (pythonGH-28939)

They support now splitting escape sequences between input chunks.

Add the third parameter "final" in codecs.unicode_escape_decode().
It is True by default to match the former behavior..
(cherry picked from commit c96d154)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka
serhiy-storchaka merged commit 7c722e3 into python:3.9 Oct 14, 2021
@serhiy-storchaka
serhiy-storchaka deleted the backport-c96d154-3.9 branch October 14, 2021 17:03
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.

3 participants