[issue1481032] patch smtplib:when SMTPDataError, rset crashes with sslerror

kxroberto report at bugs.python.org
Tue Nov 15 16:19:29 CET 2011


kxroberto <kxroberto at users.sourceforge.net> added the comment:

ping!
perhaps I forgot to write that I uploaded the cleaned patch also on 2010-08-23. I really think this simple patch is necessary. Just seen the same problem again - as I forgot the patch in one of my recent Python update installations.

When SMTPDataError, SMTPRecipientsRefused, SMTPSenderRefused should be raised, very likely a subsequent error (like closed connection etc.) overlappes the original Exception during self.rset(), and one will not be able to locate the problem on user level in eons ..

This patch is still in my vital-patches collection which I have to apply after every Python update since years.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1481032>
_______________________________________


More information about the Python-bugs-list mailing list