https://github.com/python/cpython/commit/ab1bef8ad27ad531a1109cfc016ea627d94f9cc1
commit: ab1bef8ad27ad531a1109cfc016ea627d94f9cc1
branch: main
author: Bénédikt Tran <[email protected]>
committer: picnixz <[email protected]>
date: 2025-08-23T10:17:14Z
summary:

gh-136134: restore truncated comment post GH-136623 (#138088)

This amends 766614f88af0433c2c14f5c4ed11c92d0fb04e61
where a comment has been incorrectly truncated.

files:
M Lib/smtplib.py

diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index b71fee8777e866..808f0fd47e8b4e 100644
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -734,6 +734,7 @@ def login(self, user, password, *, 
initial_response_ok=True):
             preferred_auths = ['CRAM-MD5', 'PLAIN', 'LOGIN']
         else:
             preferred_auths = ['PLAIN', 'LOGIN']
+        # We try the supported authentications in our preferred order, if
         # the server supports them.
         authlist = [auth for auth in preferred_auths
                     if auth in advertised_authlist]

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to