This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author srittau
Recipients docs@python, srittau
Date 2018-08-28.02:10:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535422242.76.0.56676864532.issue34525@psf.upfronthosting.co.za>
In-reply-to
Content
smtplib's authobject() callback is supposed to return bytes, according to both the documentation at https://docs.python.org/3/library/smtplib.html as well as the docstring of SMTP.auth(). This does neither match the implementation of auth(), which immediately calls encode() on the return value, nor that of the auth_cram_md5() et al, which return str.
History
Date User Action Args
2018-08-28 02:10:42srittausetrecipients: + srittau, docs@python
2018-08-28 02:10:42srittausetmessageid: <1535422242.76.0.56676864532.issue34525@psf.upfronthosting.co.za>
2018-08-28 02:10:42srittaulinkissue34525 messages
2018-08-28 02:10:42srittaucreate