John L added the comment:
It causes an exception and traceback, don't remember which exception six months
later. I'll see if I can add a suitable test case to the unit test.
--
___
Python tracker
<https://bugs.python.o
Change by John L :
--
keywords: +patch
pull_requests: +25299
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26709
___
Python tracker
<https://bugs.python.org/issu
Change by John L :
--
keywords: +patch
pull_requests: +25286
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26701
___
Python tracker
<https://bugs.python.org/issu
New submission from John L :
Some IMAP servers return an extra blank line after a counted literal value,
which makes imaplib crash.
MacOS mail and T'bird handle the blank line OK so it seems to be a somewhat
common bug.
--
components: Library (Lib)
messages: 395729
nosy: jrl
New submission from John L :
In an EAI (SMTPUTF8) mail session, AUTH usernames and passwords can be UTF-8,
not just ASCII.
The fix is easy. In smtplib.py, in three places in the auth() and
auth_cram_md5() routines change ".encode('ascii')" to
".encode(self.command