• Victor Stinner's avatar
    bpo-36348: IMAP4.logout() doesn't ignore exc (GH-12411) · 74125a60
    Victor Stinner yazdı
    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.
    74125a60
2019-03-18-16-16-55.bpo-36348.E0w_US.rst 86 Bytes