Skip to content

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

Open
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-1259f16-3.14
Open

miss-islington wants to merge 1 commit 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 68491+gpshead@users.noreply.github.com

…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 <68491+gpshead@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review sprint tests Tests in the Lib/test dir

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants

⌂ Proxy