-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
[3.10] bpo-45461: Fix IncrementalDecoder and StreamReader in the "unicode-escape" codec (GH-28939) #28943
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
[3.10] bpo-45461: Fix IncrementalDecoder and StreamReader in the "unicode-escape" codec (GH-28939) #28943
Conversation
…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>
|
@serhiy-storchaka: Status check is done, and it's a success ✅ . |
1 similar comment
|
@serhiy-storchaka: Status check is done, and it's a success ✅ . |
|
@serhiy-storchaka: Status check is done, and it's a success ✅ . |
|
@serhiy-storchaka: Status check is done, and it's a success ❌ . |
|
@pablogsal, how to unblock merge of this PR? |
You need to regenerate the ABI file by running cpython/.github/workflows/build.yml Lines 56 to 76 in f40b230
I can do it for you if you prefer. For example: |
|
Can this be automated? I tried to regenerate it cutting corners, but different steps take a long time, and I made some errors. The resulting diff is too large. |
|
Also an installed python3.10 was required by default to regenerate sources for python3.10. |
No, If the test fails is because the ABI is breaking so it needs manual validation by the release manager. I don't want to provide shortcuts for this
Eh? Not sure I understand, you can use any python for this (like the installed python3 in ubuntu) |
You are producing sort of a binary file, so the size of the diff is not relevant. The relevant part is that the check suceeds. |


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
https://bugs.python.org/issue45461