-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-45461: Fix IncrementalDecoder and StreamReader in the "unicode-escape" codec #28939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-45461: Fix IncrementalDecoder and StreamReader in the "unicode-escape" codec #28939
Conversation
…cape" codec 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
GH-28943 is a backport of this pull request to the 3.10 branch. |
…cape" 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>
…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>
|
GH-28945 is a backport of this pull request to the 3.9 branch. |
…code-escape" codec (GH-28939) (GH-28943) 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>
…ode-escape" codec (GH-28939) (GH-28945) 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>
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.
https://bugs.python.org/issue45461