Skip to content

Conversation

@filiplajszczak
Copy link
Contributor

@filiplajszczak filiplajszczak commented Nov 4, 2025

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 ce1bb85)


📚 Documentation preview 📚: https://cpython-previews--141024.org.readthedocs.build/

…22 (pythonGH-139435)

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 ce1bb85)

Co-authored-by: Filip Łajszczak <filip@lajszczak.dev>
@filiplajszczak filiplajszczak requested review from a team, abalkin and pganssle as code owners November 4, 2025 20:50
@bitdancer bitdancer merged commit d76e411 into python:3.13 Nov 4, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants