Skip to content

[3.12] gh-126997: Fix support of non-ASCII strings in pickletools (GH-127062) #127095

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

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 21, 2024

  • Fix support of STRING and GLOBAL opcodes with non-ASCII arguments.
  • dis() now outputs non-ASCII bytes in STRING, BINSTRING and
    SHORT_BINSTRING arguments as escaped (\xXX).
    (cherry picked from commit eaf2171)

Co-authored-by: Serhiy Storchaka [email protected]

…honGH-127062)

* Fix support of STRING and GLOBAL opcodes with non-ASCII arguments.
* dis() now outputs non-ASCII bytes in STRING, BINSTRING and
  SHORT_BINSTRING arguments as escaped (\xXX).
(cherry picked from commit eaf2171)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) November 21, 2024 11:17
@serhiy-storchaka serhiy-storchaka merged commit d997be0 into python:3.12 Nov 21, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants