COMMITS
/ Lib/mailbox.py February 16, 2026
S
bpo-32234: Allow mailbox instances as context managers (GH-4770)
sblondon committed
December 22, 2025
A
gh-143010: Prevent a TOCTOU issue by only calling open once (#143011)
AZero13 committed
November 2, 2025
S
gh-140808: Remove __class_getitem__ from mailbox._ProxyFile (#140838)
Sebastian Rittau committed
April 4, 2024
T
gh-117467: Add preserving of mailbox owner on flush (GH-117510)
Tony Mountifield committed
February 6, 2024
M
#gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117)
Matthieu Caneill committed
January 10, 2024
S
gh-66515: Fix locking of an MH mailbox without ".mh_sequences" file (GH-113482)
Serhiy Storchaka committed
December 26, 2023
S
gh-66515: mailbox.MH now supports folders withou the ".mh_sequences" file (GH-804)
Serhiy Storchaka committed
December 25, 2023
Z
bpo-21360: mailbox.Maildir now ignores files with a leading dot (GH-11833)
Zackery Spytz committed
November 11, 2023
S
gh-90890: New methods to access mailbox.Maildir message info and flags (#103905)
Stephen Gildea committed
November 26, 2022
N
bpo-45975: Simplify some while-loops with walrus operator (GH-29347)
Nick Drozd committed
April 14, 2020
E
bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425)
Ethan Smith committed
October 19, 2018
C
bpo-31522: mailbox.get_string: pass `from_` parameter to `get_bytes` (#9857)
Cheryl Sabella committed
April 5, 2017
S
bpo-29762: More use "raise from None". (#569)
Serhiy Storchaka committed
December 12, 2016
X
Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a non-root user.
Xavier de Gaye committed
June 6, 2016
M
Issue #27107: Add exception classes to mailbox.__all__, by Jacek Kołodziej
Martin Panter committed
April 17, 2016
S
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Serhiy Storchaka committed
April 10, 2015
S
Issue #23865: close() methods in multiple modules now are idempotent and more
Serhiy Storchaka committed
S
Issue #23865: close() methods in multiple modules now are idempotent and more
Serhiy Storchaka committed
November 23, 2014
R
PEP 479: Use the return-keyword instead of raising StopIteration inside a generators.
Raymond Hettinger committed
November 9, 2014
R
Issue #22823: Use set literals instead of creating a set from a list
Raymond Hettinger committed
September 10, 2014
S
Issue #22369: Change "context manager protocol" to "context management protocol".
Serhiy Storchaka committed
August 13, 2014
S
Issue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems()
Serhiy Storchaka committed
March 20, 2014
V
Issue #20976: pyflakes: Remove unused imports
Victor Stinner committed
January 16, 2014
S
Issue #19936: Added executable bits or shebang lines to Python scripts which
Serhiy Storchaka committed
S
Issue #19936: Added executable bits or shebang lines to Python scripts which
Serhiy Storchaka committed
September 18, 2013
R
Merge #19037: adjust file times *before* moving maildir files into place.
R David Murray committed
R
#19037: adjust file times *before* moving maildir files into place.
R David Murray committed
July 4, 2013
B
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
Brett Cannon committed
June 14, 2013
B
Issue #18200: Update the stdlib (except tests) to use
Brett Cannon committed
February 12, 2013
G
G
modernize some modules' code by using with statement around open()
Giampaolo Rodola' committed
December 25, 2012
A
Replace IOError with OSError (#16715)
Andrew Svetlov committed
October 5, 2012
J
#16135: Removal of OS/2 support (Python code partial cleanup)
Jesus Cea committed
J
#16135: Removal of OS/2 support (Remove OS2 and OS/2 references)
Jesus Cea committed
October 1, 2012
P
utilize yield from
Philip Jenvey committed
September 25, 2012
P
#15222: Merge 3.2
Petri Lehtinen committed
P
#15222: Insert blank line after each message in mbox mailboxes
Petri Lehtinen committed
August 16, 2012
P
#11062: Fix universal newline support in Babyl._install_message()
Petri Lehtinen committed
P
#11062: Fix universal newline support in Babyl._install_message()
Petri Lehtinen committed
August 15, 2012
P
#11062: Fix adding a message from file to Babyl mailbox
Petri Lehtinen committed
P
#11062: Fix adding a message from file to Babyl mailbox
Petri Lehtinen committed
June 29, 2012
P
#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
Petri Lehtinen committed
P
#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
Petri Lehtinen committed
P
#9559: Don't call _pre_mailbox_hook more than once
Petri Lehtinen committed
P
#9559: Don't call _pre_mailbox_hook more than once
Petri Lehtinen committed
June 28, 2012
P
#9559: Append data to single-file mailbox files if messages are only added
Petri Lehtinen committed
P
#9559: Append data to single-file mailbox files if messages are only added
Petri Lehtinen committed
June 15, 2012
P
#15036: Make a repeated changes and flushes work with single-file mailboxes
Petri Lehtinen committed
P
#15036: Make a repeated changes and flushes work with single-file mailboxes
Petri Lehtinen committed
April 9, 2012
R
#12537: in mailbox avoid depending on knowledge of email package internals
R David Murray committed