Re: non-blocking communication with imaplib

2007-08-29 Thread Igor V. Rafienko
[ Lawrence D'Oliveiro ] [ ... ] > According to the documentation > , you can override > the "read" and "readline" methods. How about replacing them with > routines that use select.select on the socket() object to implement > a timeout? Sounds like

Re: non-blocking communication with imaplib

2007-08-27 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Igor V. Rafienko wrote: > I would like to talk to an IMAP-server, imaplib being the tool of > choice, of course. Unfortunately it may happen that the IMAP-server > fails to respond to certain commands, and I would like to be able to > detect that within a given time