[PATCH] Re: Always logout() on imaplib2 objects, even during exceptions

Nicolas Sebrecht nicolas.s-dev at laposte.net
Fri Mar 25 17:28:03 GMT 2011

On Fri, Mar 25, 2011 at 09:46:39AM +0100, Sebastian Spaeth wrote:
> Right, ctrl-c will probably not interrupt a folder sync, due to the
> locks not reacting to interrupts (which I consider a python deficiency).
> On Thu, 24 Mar 2011 14:51:10 -0400, Ethan Glasser-Camp <ethan at betacantrips.com> wrote:
> > Without this, trying to Ctrl-C out of offlineimap will go into a hang.
> Weird, I thought I had tried something like this locally and it did not
> solve it for me. But if it does for you, great.
> This is in any case the *correct* thing to do, so +1 on the patch.
> Reviewed-by: Sebastian Spaeth <Sebastian at SSpaeth.de>

Thanks both. I've added an entry to the Changelog and applied to master,

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list