Skip to content

[3.13] gh-87720 Fix additional header refolding-quoting edge case (GH-134271) - #160456

Merged
Yhg1s merged 2 commits into
python:3.13from
miss-islington:backport-5a22a62-3.13
Oct 25, 2026
Merged

Yhg1s merged 2 commits into
python:3.13from
miss-islington:backport-5a22a62-3.13

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

In this case, the higher level syntactic unit fit on the remainder of
the line in un-encoded format, and that higher level unit was
not a ptext or vtext, so the encoding check failed. To fix this, we
look inside the current unit to see if has anything that was
originally encoded.
(cherry picked from commit 5a22a62)

Co-authored-by: R. David Murray rdmurray@bitdance.com

…honGH-134271)

In this case, the higher level syntactic unit fit on the remainder of
the line in un-encoded format, and that higher level unit was
not a ptext or vtext, so the encoding check failed.  To fix this, we
look inside the current unit to see if has anything that was
originally encoded.
(cherry picked from commit 5a22a62)

Co-authored-by: R. David Murray <rdmurray@bitdance.com>
@Yhg1s
Yhg1s merged commit d8f88ec into python:3.13 Oct 25, 2026
43 of 45 checks passed
@miss-islington
miss-islington deleted the backport-5a22a62-3.13 branch October 25, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants