COMMITS
/ Lib/email/generator.py April 14, 2026
H
gh-148192: Fix Generator._make_boundary behavior with CRLF line endings. (#148193)
Henry Jones committed
January 23, 2026
S
gh-144125: email: verify headers are sound in BytesGenerator
Seth Michael Larson committed
November 4, 2025
F
gh-139434: Update selected RFC 2822 references to RFC 5322 (#139435)
Filip Łajszczak committed
November 12, 2024
H
gh-126133: Only use start year in PSF copyright, remove end years (#126236)
Hugo van Kemenade committed
September 4, 2024
July 30, 2024
P
gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233)
Petr Viktorin committed
May 22, 2024
G
Remove almost all unpaired backticks in docstrings (#119231)
Geoffrey Thomas committed
March 5, 2024
S
gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset (GH-116125)
Serhiy Storchaka committed
March 8, 2023
J
gh-102507 Remove invisible pagebreak characters (#102531)
JosephSBoyle committed
November 25, 2022
G
Fix typo on inline comment for email.generator (GH-98210)
Gary Donovan committed
October 19, 2020
M
bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074)
Mark Sapiro committed
September 11, 2016
R
Merge: #19003: Only replace \r and/or \n line endings in email.generator.
R David Murray committed
September 9, 2016
R
Merge: #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.
R David Murray committed
R
#27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.
R David Murray committed
September 8, 2016
R
Add policy keyword to email.generator.DecodedGenerator.
R David Murray committed
August 30, 2016
R
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
Raymond Hettinger committed
May 17, 2015
R
#20098: add mangle_from_ policy option.
R David Murray committed
May 7, 2014
R
#21300: Clean up the docs for the email "policy" arguments.
R David Murray committed
March 20, 2014
V
Issue #20976: pyflakes: Remove unused imports
Victor Stinner committed
February 8, 2014
R
#14983: always add a line end after a MIME boundary marker.
R David Murray committed
R
#19772: Do not mutate message when downcoding to 7bit.
R David Murray committed
August 10, 2013
E
Fix a couple of typos.
Ezio Melotti committed
March 7, 2013
R
Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
R David Murray committed
R
PEP8 fixup on previous patch, remove unused import in test_email.
R David Murray committed
R
Merge: #14645: Generator now emits correct linesep for all parts.
R David Murray committed
R
#14645: Generator now emits correct linesep for all parts.
R David Murray committed
February 9, 2013
R
Merge: #16564: Fix regression in use of encoders.encode_noop with binary data.
R David Murray committed
R
#16564: Fix regression in use of encoders.encode_noop with binary data.
R David Murray committed
August 24, 2012
R
Merge #15249: Mangle From lines correctly when body contains invalid bytes.
R David Murray committed
R
#15249: Mangle From lines correctly when body contains invalid bytes.
R David Murray committed
July 23, 2012
R
Merge #15232: correctly mangle From lines in MIME preamble and epilogue
R David Murray committed
R
#15232: correctly mangle From lines in MIME preamble and epilogue
R David Murray committed
May 25, 2012
R
#12586: add provisional email policy with new header parsing and folding.
R David Murray committed
R
#14731: refactor email policy framework.
R David Murray committed
March 17, 2012
R
Merge #11686: add missing entries to email __all__ lists.
R David Murray committed
R
#11686: add missing entries to email __all__ lists.
R David Murray committed
March 14, 2012
R
#14062: fix BytesParser handling of Header objects
R David Murray committed
R
#14062: fix BytesParser handling of linesep for Header objects
R David Murray committed
April 18, 2011
R
#11731: simplify/enhance parser/generator API by introducing policy objects.
R David Murray committed
April 13, 2011
R
#11684: Complete parser bytes interface by adding BytesHeaderParser
R David Murray committed
March 14, 2011
R
Harmonize linesep docstrings, and fix the quoting of \r\n
R David Murray committed
January 26, 2011
R
#11019: Make BytesGenerator handle Message with None body.
R. David Murray committed
R
Revert r88197. I'll refix correctly once there is a test.
R. David Murray committed
V
Fix BytesGenerator._handle_text() if the message has no payload (None)
Victor Stinner committed
December 21, 2010
R
Fix the change made for issue 1243654.
R. David Murray committed
December 12, 2010
R
#243654: only create a new MIME boundary if we don't already have one.
R. David Murray committed
November 21, 2010
R
Fix TestBytesGeneratorIdempotent tests and a couple bugs they revealed.
R. David Murray committed
October 23, 2010
R
#1349106: add linesep argument to generator.flatten and header.encode.
R. David Murray committed
October 8, 2010
R
#4661: add bytes parsing and generation to email (email version bump to 5.1.0)
R. David Murray committed
October 1, 2010
R
Fix docstring typo.
R. David Murray committed