cpython/Lib/email
Miss Islington (bot) 7dc2f33a07
[3.15] gh-87720 Fix additional header refolding-quoting edge case (GH-134271) (#159069)
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 5a22a62b96)

Co-authored-by: R. David Murray <rdmurray@bitdance.com>
2026-10-09 15:35:44 -04:00
..
mime
__init__.py
_encoded_words.py [3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190) (#155635) 2026-08-14 17:43:25 +09:00
_header_value_parser.py [3.15] gh-87720 Fix additional header refolding-quoting edge case (GH-134271) (#159069) 2026-10-09 15:35:44 -04:00
_parseaddr.py [3.15] gh-101913: changed wording of docstring for _parsedate_tz (GH-134446) (#150796) 2026-06-02 11:31:56 -04:00
_policybase.py [3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190) (#155635) 2026-08-14 17:43:25 +09:00
architecture.rst Fix typos in multiple .rst files (#1668) 2017-05-19 23:37:57 +03:00
base64mime.py
charset.py [3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190) (#155635) 2026-08-14 17:43:25 +09:00
contentmanager.py [3.15] gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120) (GH-151541) 2026-06-16 12:18:56 +00:00
encoders.py
errors.py gh-81074: Allow non-ASCII addr_spec in email.headerregistry.Address (#122477) 2026-05-01 14:00:46 -04:00
feedparser.py
generator.py gh-148192: Fix Generator._make_boundary behavior with CRLF line endings. (#148193) 2026-04-14 09:10:08 -04:00
header.py [3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190) (#155635) 2026-08-14 17:43:25 +09:00
headerregistry.py gh-141510: Replace MappingProxyType with frozendict (#144904) 2026-02-18 20:23:49 +00:00
iterators.py
message.py [3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190) (#155635) 2026-08-14 17:43:25 +09:00
parser.py
policy.py [3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190) (#155635) 2026-08-14 17:43:25 +09:00
quoprimime.py gh-145831: email.quoprimime: decode() leaves stray \r when eol='\r\n' (#145832) 2026-04-09 16:21:49 -04:00
utils.py [3.15] gh-62978: Use Python 3 terms in the email package docs (GH-155190) (#155635) 2026-08-14 17:43:25 +09:00