Issue 11291: poplib suppresses exception on QUIT (original) (raw)

Issue11291

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

Files
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.
History
Date User Action Args
2022-04-11 14:57:13 admin set github: 55500
2011-02-25 22:28:51 giampaolo.rodola set status: open -> closednosy:pitrou, giampaolo.rodolamessages: + components: + Library (Lib)resolution: fixed
2011-02-22 19:52:41 giampaolo.rodola create