Skip to content

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

Merged
bitdancer merged 1 commit into
python:3.15from
miss-islington:backport-5a22a62-3.15
Oct 9, 2026
Merged

bitdancer merged 1 commit into
python:3.15from
miss-islington:backport-5a22a62-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 9, 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>
@miss-islington
miss-islington requested a review from a team as a code owner October 9, 2026 12:55
@bitdancer
bitdancer merged commit 7dc2f33 into python:3.15 Oct 9, 2026
60 checks passed
@miss-islington
miss-islington deleted the backport-5a22a62-3.15 branch October 9, 2026 19:35
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.

2 participants