[New-bugs-announce] [issue11291] poplib suppresses exception on QUIT

Giampaolo Rodola' report at bugs.python.org
Tue Feb 22 20:52:41 CET 2011


New submission from Giampaolo Rodola' <g.rodola at gmail.com>:

Unlike ftplib, smtplib and probably others, poplib suppresses error_proto exceptions on quit().
I'm not sure in what circumstances a POP3 server can return a negative response on QUIT but if this happens poplib should raise an exception.
Users who don't care about QUIT response can use the new close() method.
For backward compatibility patch should only be applied to Python 3.3 .

----------
files: poplib_quit.patch
keywords: patch
messages: 129114
nosy: giampaolo.rodola, pitrou
priority: normal
severity: normal
status: open
title: poplib suppresses exception on QUIT
versions: Python 3.3
Added file: http://bugs.python.org/file20846/poplib_quit.patch

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


More information about the New-bugs-announce mailing list