mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] gh-139434: Update selected RFC 2822 references to RFC 5322 (GH-139435) (#141025)
Update selected RFC 2822 references to RFC 5322
RFC 2822 was obsoleted by RFC 5322 in 2008. This updates references
to use the current standard in documentation, docstrings, and comments.
It preserves RFC 2822 references in legacy API components to maintain their
historical context.
RFC 822 → RFC 2822 → RFC 5322 progression is explained where relevant.
In some places specific sections of RFC are referenced where it seems helpful.
Scout rule was applied in some places and RFC mentions format was
normalized in doc strings and comments.
(cherry picked from commit ce1bb85d28)
This commit is contained in:
parent
f0eb7d4c9a
commit
dc76de26e5
15 changed files with 49 additions and 45 deletions
|
|
@ -335,7 +335,7 @@ sophisticated and robust capabilities of its larger packages. For example:
|
|||
names, no direct knowledge or handling of XML is needed.
|
||||
|
||||
* The :mod:`email` package is a library for managing email messages, including
|
||||
MIME and other :rfc:`2822`-based message documents. Unlike :mod:`smtplib` and
|
||||
MIME and other :rfc:`5322`-based message documents. Unlike :mod:`smtplib` and
|
||||
:mod:`poplib` which actually send and receive messages, the email package has
|
||||
a complete toolset for building or decoding complex message structures
|
||||
(including attachments) and for implementing internet encoding and header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue