[Piers Lauder] Re: imaplib2 support for starttls

Piers Lauder piers at janeelix.com
Thu Apr 14 01:12:25 BST 2011


On Wed, 13 Apr 2011 10:29:49 +0200, Sebastian Spaeth wrote:
  > 
	...

  > > BTW, I wonder if the imaplib2 threads should set the daemon flag
  > > to not prevent python from exiting w/o clean IMAP2.logout()?
  > 
  > Different issue, but yes, that would be good. @Piers, we got a hang in imaplib2 when a signal
  > handler called system.exit(), so we had to catch an interrupt and
  > perform a logout() before we allowed offlineimap to exit.


Seems reasonable. I'll make the threads daemon threads.

Piers.






More information about the OfflineIMAP-project mailing list