Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.7k
(2.7k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
mailbox.py
on
3.13
User selector
All users
Datepicker
All time
Commit history
Commits on Dec 22, 2025
[3.13] gh-143010: Prevent a TOCTOU issue by only calling open once (GH-143011) (#143079)
Show description for a6cfdb5
3 people
authored
a6cfdb5
View commit details
Copy full SHA for a6cfdb5
View code at this point
Browse repository at this point
Commits on Apr 4, 2024
gh-117467: Add preserving of mailbox owner on flush (GH-117510)
Show description for 3f5bcc8
softins
and
serhiy-storchaka
authored
3f5bcc8
View commit details
Copy full SHA for 3f5bcc8
View code at this point
Browse repository at this point
Commits on Feb 6, 2024
#gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117)
matthieucan
authored
76108b8
View commit details
Copy full SHA for 76108b8
View code at this point
Browse repository at this point
Commits on Jan 10, 2024
gh-66515: Fix locking of an MH mailbox without ".mh_sequences" file (GH-113482)
Show description for be5e65f
serhiy-storchaka
authored
be5e65f
View commit details
Copy full SHA for be5e65f
View code at this point
Browse repository at this point
Commits on Dec 26, 2023
gh-66515: mailbox.MH now supports folders withou the ".mh_sequences" file (GH-804)
Show description for e87cadc
serhiy-storchaka
authored
e87cadc
View commit details
Copy full SHA for e87cadc
View code at this point
Browse repository at this point
Commits on Dec 25, 2023
bpo-21360: mailbox.Maildir now ignores files with a leading dot (GH-11833)
Show description for 3f5eb3e
ZackerySpytz
and
serhiy-storchaka
authored
3f5eb3e
View commit details
Copy full SHA for 3f5eb3e
View code at this point
Browse repository at this point
Commits on Nov 11, 2023
gh-90890: New methods to access mailbox.Maildir message info and flags (#103905)
Show description for 38035fe
gildea
and
gpshead
authored
38035fe
View commit details
Copy full SHA for 38035fe
View code at this point
Browse repository at this point
Commits on Nov 26, 2022
bpo-45975: Simplify some while-loops with walrus operator (GH-29347)
nickdrozd
authored
024ac54
View commit details
Copy full SHA for 024ac54
View code at this point
Browse repository at this point
Commits on Apr 14, 2020
bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425)
emmatyping
authored
d01628e
View commit details
Copy full SHA for d01628e
View code at this point
Browse repository at this point
Commits on Oct 19, 2018
bpo-31522: mailbox.get_string: pass `from_` parameter to `get_bytes` (#9857)
Show description for d16f012
csabella
authored and
bitdancer
committed
d16f012
View commit details
Copy full SHA for d16f012
View code at this point
Browse repository at this point
Commits on Apr 5, 2017
bpo-29762: More use "raise from None". (#569)
Show description for 5affd23
serhiy-storchaka
authored
5affd23
View commit details
Copy full SHA for 5affd23
View code at this point
Browse repository at this point
Commits on Dec 12, 2016
Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a non-root user.
Xavier de Gaye
committed
452b3a6
View commit details
Copy full SHA for 452b3a6
View code at this point
Browse repository at this point
Commits on Jun 6, 2016
Issue #27107: Add exception classes to mailbox.__all__, by Jacek Kołodziej
vadmium
committed
ed84ab3
View commit details
Copy full SHA for ed84ab3
View code at this point
Browse repository at this point
Commits on Apr 17, 2016
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
serhiy-storchaka
committed
6a7b3a7
View commit details
Copy full SHA for 6a7b3a7
View code at this point
Browse repository at this point
Commits on Apr 10, 2015
Issue #23865: close() methods in multiple modules now are idempotent and more
Show description for 2116b12
serhiy-storchaka
committed
2116b12
View commit details
Copy full SHA for 2116b12
View code at this point
Browse repository at this point
Issue #23865: close() methods in multiple modules now are idempotent and more
Show description for 7e7a3db
serhiy-storchaka
committed
7e7a3db
View commit details
Copy full SHA for 7e7a3db
View code at this point
Browse repository at this point
Commits on Nov 23, 2014
PEP 479: Use the return-keyword instead of raising StopIteration inside a generators.
rhettinger
committed
bb6c0aa
View commit details
Copy full SHA for bb6c0aa
View code at this point
Browse repository at this point
Commits on Nov 9, 2014
Issue #22823: Use set literals instead of creating a set from a list
rhettinger
committed
df1b699
View commit details
Copy full SHA for df1b699
View code at this point
Browse repository at this point
Commits on Sep 10, 2014
Issue #22369: Change "context manager protocol" to "context management protocol".
serhiy-storchaka
committed
1486799
View commit details
Copy full SHA for 1486799
View code at this point
Browse repository at this point
Commits on Aug 13, 2014
Issue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems()
Show description for cd3aacf
serhiy-storchaka
committed
cd3aacf
View commit details
Copy full SHA for cd3aacf
View code at this point
Browse repository at this point
Commits on Mar 20, 2014
Issue #20976: pyflakes: Remove unused imports
vstinner
committed
7fa767e
View commit details
Copy full SHA for 7fa767e
View code at this point
Browse repository at this point
Commits on Jan 16, 2014
Issue #19936: Added executable bits or shebang lines to Python scripts which
Show description for 8f8ec92
serhiy-storchaka
committed
8f8ec92
View commit details
Copy full SHA for 8f8ec92
View code at this point
Browse repository at this point
Issue #19936: Added executable bits or shebang lines to Python scripts which
Show description for b992a0e
serhiy-storchaka
committed
b992a0e
View commit details
Copy full SHA for b992a0e
View code at this point
Browse repository at this point
Commits on Sep 18, 2013
Merge #19037: adjust file times *before* moving maildir files into place.
bitdancer
committed
cf6d0e7
View commit details
Copy full SHA for cf6d0e7
View code at this point
Browse repository at this point
#19037: adjust file times *before* moving maildir files into place.
Show description for 41a22f1
bitdancer
committed
41a22f1
View commit details
Copy full SHA for 41a22f1
View code at this point
Browse repository at this point
Commits on Jul 4, 2013
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
brettcannon
committed
cd171c8
View commit details
Copy full SHA for cd171c8
View code at this point
Browse repository at this point
Commits on Jun 14, 2013
Issue #18200: Update the stdlib (except tests) to use
Show description for 0a14066
brettcannon
committed
0a14066
View commit details
Copy full SHA for 0a14066
View code at this point
Browse repository at this point
Commits on Feb 12, 2013
modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.)
giampaolo
committed
0166a28
View commit details
Copy full SHA for 0166a28
View code at this point
Browse repository at this point
modernize some modules' code by using with statement around open()
giampaolo
committed
2f50aaf
View commit details
Copy full SHA for 2f50aaf
View code at this point
Browse repository at this point
Commits on Dec 25, 2012
Replace IOError with OSError (#16715)
asvetlov
committed
f7a17b4
View commit details
Copy full SHA for f7a17b4
View code at this point
Browse repository at this point
Commits on Oct 5, 2012
#16135: Removal of OS/2 support (Python code partial cleanup)
jcea
committed
4791a24
View commit details
Copy full SHA for 4791a24
View code at this point
Browse repository at this point
#16135: Removal of OS/2 support (Remove OS2 and OS/2 references)
jcea
committed
f1af705
View commit details
Copy full SHA for f1af705
View code at this point
Browse repository at this point
Commits on Oct 1, 2012
utilize yield from
pjenvey
committed
4993cc0
View commit details
Copy full SHA for 4993cc0
View code at this point
Browse repository at this point
Commits on Sep 25, 2012
#15222: Merge 3.2
akheron
committed
f6b3038
View commit details
Copy full SHA for f6b3038
View code at this point
Browse repository at this point
#15222: Insert blank line after each message in mbox mailboxes
akheron
committed
f39884b
View commit details
Copy full SHA for f39884b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.