Skip to content

gh-136191: Unify commands to uppercase for wider support #136733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MrExcitingDigits
Copy link

@MrExcitingDigits MrExcitingDigits commented Jul 17, 2025

This decision to unify commands in uppercase comes from adherence to the industry standard and RFC 5321. It was posted in a python discussion and exists as issue 136191.

This decision to unify commands in uppercase comes from adherence to the industry standard and RFC 5321. It was posted in the python discussions here: https://discuss.python.org/t/unify-all-smtplib-commands-to-be-uppercase/97482
@MrExcitingDigits MrExcitingDigits requested a review from a team as a code owner July 17, 2025 03:00
@python-cla-bot
Copy link

The following commit authors need to sign the Contributor License Agreement:

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Jul 17, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Comment on lines +40 to +41
# Upper case commands for wider support as enumerated in section 2.4 of RFC 5321
# by Steve Jacob <[email protected]>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some change logs in a module's source code, but usually we don't update them nowadays. Instead, we mention them in the news entry (where the PR author's name can also be credited).

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