New submission from Kristján Valur Jónsson <krist...@ccpgames.com>:
the SMPT.getreply() method doesn't check for socket.error when doing its readline() call. We now check for connection reset and others that can occur here and properly close. This is to comply with the documentation that doesn't specify socket.error as part of the exceptions raised. ---------- components: Library (Lib) files: smtplib.patch keywords: needs review, patch, patch messages: 79732 nosy: krisvale severity: normal stage: patch review status: open title: smptlib.py can raise socket.error type: behavior versions: Python 2.5, Python 2.6, Python 2.7 Added file: http://bugs.python.org/file12716/smtplib.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4929> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com