Skip to content

[3.14] gh-160518: Fix hz encoder dropping half of the ~~ escape (GH-160519) - #161003

Merged
gpshead merged 2 commits into
python:3.14from
miss-islington:backport-1259f16-3.14
Nov 1, 2026
Merged

gpshead merged 2 commits into
python:3.14from
miss-islington:backport-1259f16-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Write both bytes of the escape before consuming the input character, so
that a retry after the output buffer is enlarged starts at the tilde.
(cherry picked from commit 1259f16)

Co-authored-by: Gregory P. Smith [email protected]

…nGH-160519)

Write both bytes of the escape before consuming the input character, so
that a retry after the output buffer is enlarged starts at the tilde.
(cherry picked from commit 1259f1602f870185a4980c80c525e110c4b9c614)

Co-authored-by: Gregory P. Smith <[email protected]>
@gpshead
gpshead merged commit 922b7f7 into python:3.14 Nov 1, 2026
49 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Sprint Nov 1, 2026
@miss-islington
miss-islington deleted the backport-1259f16-3.14 branch November 1, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sprint tests Tests in the Lib/test dir

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants