-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-31825: Fixed OverflowError in the 'unicode-escape' codec #4058
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-31825: Fixed OverflowError in the 'unicode-escape' codec #4058
Conversation
and in codecs.escape_decode() when decode an escaped non-ascii byte.
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.
Looks good to me (after fixing the one small typo).
@@ -0,0 +1,2 @@ | |||
Fixed OverflowError in the 'unicode-escape' codec and in | |||
codecs.escape_decode() when decode an scaped non-ascii byte. |
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.
Typo: scaped -> escaped.
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.
Thanks.
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.6. |
GH-4059 is a backport of this pull request to the 3.6 branch. |
and in codecs.escape_decode() when decode an escaped non-ascii byte.
https://bugs.python.org/issue31825