[issue2248] quit() method of SMTP instance (of smtplib) doesn't return it's result

Sean Reifschneider report at bugs.python.org
Thu Mar 20 21:45:46 CET 2008


Sean Reifschneider <jafo at tummy.com> added the comment:

Kei: The documentation does not say that quit() returns a value, so the
current behavior is correct.  However, SMTP defines a return value for
QUIT, so there is a case for smtplib.quit() returning that value.

This patch does need a documentation change to Doc/library/smtplib.rst

Guido: You wrote and last touched this code, any objections?

----------
assignee:  -> gvanrossum
nosy: +gvanrossum, jafo
priority:  -> normal
type:  -> feature request

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2248>
__________________________________


More information about the Python-bugs-list mailing list