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 .