This is a static archive of the Python wiki, which was retired in February 2026 due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

stdlib Clients

Other parts of the stdlib rely on the email package for various services. Right now this is just a list of import dependencies; this should be expanded into a brief description of the stdlib use cases so we can make sure we continue to support them properly.

Package Email imports
http/client.py email.parser, email.message
http/server.py email.parser, email.message
urllib/request email, email.utils (also mimetypes)
smtplib email.utils
cgi email.parser
pydoc email.message
mailbox email, email.message, email.generator
distutils/dist.py email.message_from_file

There are also dependencies in the test suites:

Test Email imports
urllib2_localnet email
smtplib email.utils
test_http_cookiejar email
test_urllibnet email.message
test_mailbox email, email.message
test_zipfile email
test_urllib2 email, email.utils

2026-02-14 16:07