> so you will never see a socket error from quit().
It did happen but on the close() call inside the quit() call.
I couldn't reproduce it in the tests yet, still working on it.
I have changed the patch and took car of the return code.
I have also commited a first version of the imaplib one. This one
required to write a dummy imap server in the tests, and I am not fully
happy with it yet (the returns are based on trials-errors, and I am not
fully understanding this protocol yet)
but imaplib is undertested, this fake server might be a good start for
more tests in test_imaplib imho. |