New submission from Sebastian Rittau <srit...@rittau.biz>:

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.

----------
assignee: docs@python
components: Documentation
messages: 324209
nosy: docs@python, srittau
priority: normal
severity: normal
status: open
title: smtplib's authobject return value wrongly documented
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34525>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to