bpo-36348: IMAP4.logout() doesn't ignore exc (GH-12411)
The imap.IMAP4.logout() method no longer ignores silently arbitrary exceptions. Changes: * The IMAP4.logout() method now expects a "BYE" untagged response, rather than relying on _check_bye() which raises a self.abort() exception. * IMAP4.__exit__() now does nothing if the client already logged out. * Add more debug info if test_logout() tests fail.
V
Victor Stinner committed
74125a60b7a477451ff2b8385bfbce3fdaee8dbc
Parent: 0810fa7
Committed by GitHub <noreply@github.com>
on 4/15/2019, 4:23:20 PM