This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: poplib suppresses exception on QUIT
Type: Stage:
Components: Library (Lib) Versions: Python 3.3
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: giampaolo.rodola, pitrou
Priority: normal Keywords: patch

Created on 2011-02-22 19:52 by giampaolo.rodola, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
poplib_quit.patch giampaolo.rodola, 2011-02-22 19:52
Messages (2)
msg129114 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2011-02-22 19:52
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 .
msg129446 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2011-02-25 22:28
Fixed in r88620.
Date User Action Args
2022-04-11 14:57:13adminsetgithub: 55500
2011-02-25 22:28:51giampaolo.rodolasetstatus: open -> closed
nosy: pitrou, giampaolo.rodola
messages: + msg129446

components: + Library (Lib)
resolution: fixed
2011-02-22 19:52:41giampaolo.rodolacreate