Author sblondon
Recipients barry, ncoghlan, r.david.murray, sblondon, serhiy.storchaka, yselivanov
Date 2017-12-06.17:57:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
Currently, the implementation of .close() methods call flush() and
unlock() if it's needed.

About the ambiguity for the enter call, I think the context manager
should provide access to Mailbox, not a lock. If a lock is needed, we
could imagine another context manager:
with mailbox.Mailbox as mbox:
   #read messages, ...
   with mbox.lock():
      #actions that need lock

Do you think it's better?
Date User Action Args
2017-12-06 17:57:04sblondonsetrecipients: + sblondon, barry, ncoghlan, r.david.murray, serhiy.storchaka, yselivanov
2017-12-06 17:57:04sblondonlinkissue32234 messages
2017-12-06 17:57:04sblondoncreate