]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27820: Fix AUTH LOGIN logic in smtplib.SMTP (GH-24118)
authorPandu E POLUAN <pepoluan@gmail.com>
Fri, 12 Mar 2021 23:25:49 +0000 (06:25 +0700)
committerGitHub <noreply@github.com>
Fri, 12 Mar 2021 23:25:49 +0000 (15:25 -0800)
commit7591d9455eb37525c832da3d65e1a7b3e6dbf613
tree443271a487226a130c8851ce2578f4717285bf0a
parentba251c2ae6654bfc8abd9d886b219698ad34ac3c
bpo-27820: Fix AUTH LOGIN logic in smtplib.SMTP (GH-24118)

* Fix auth_login logic (bpo-27820)

* Also fix a longstanding bug in the SimSMTPChannel.found_terminator() method that causes inability to test
SMTP AUTH with initial_response_ok=False.
Lib/smtplib.py
Lib/test/test_smtplib.py
Misc/NEWS.d/next/Library/2021-03-10-14-07-44.bpo-27820.Wwdy-r.rst [new file with mode: 0644]