Gereon Kremer added the comment: We have implemented this functionality according to RFC 2177. We actually implemented a synchronous idle function that blocks until a timeout occurs or the server sent some event.
This is not the most flexible way, however it will provide a basic functionality that enables user to use imap idle based notifications. Besides, every other solution would require threads or regular polling. See attached patch file. ---------- keywords: +patch nosy: +nafur Added file: http://bugs.python.org/file27400/imapidle.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11245> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com