R. David Murray <rdmur...@bitdance.com> added the comment: I shouldn't have assumed that you knew about contextlib, and should have mentioned it by name the first time.
The patch looks good to me. Not sure it is necessary to loop through ten fake mailboxes, but it doesn't hurt, either. (Other potential reviewers note: 'looks' is the operative word, I haven't tested it myself yet.) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11767> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com