]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-136134: restore truncated comment post GH-136623 (#138088)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sat, 23 Aug 2025 10:17:14 +0000 (12:17 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Aug 2025 10:17:14 +0000 (10:17 +0000)
This amends 766614f88af0433c2c14f5c4ed11c92d0fb04e61
where a comment has been incorrectly truncated.

Lib/smtplib.py

index b71fee8777e866e3b3a1eb0b33a4f1be5f6621d0..808f0fd47e8b4ea82ccf51741a6db926fc28cef0 100644 (file)
@@ -734,6 +734,7 @@ class SMTP:
             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]