New submission from Jairo Llopis <yajo....@gmail.com>:
No way to pass a timeout to imaplib.IMAP4 or imaplib.IMAP4_SSL. When opening the connection, the only way is to use socket.settimeout(), which affects the global execution environment. It's interesting that poplib includes the needed timeout parameter instead... weird. I think it was forgotten for imaplib. ---------- components: Library (Lib) messages: 355542 nosy: Jairo Llopis priority: normal severity: normal status: open title: imaplib has no timeout setting type: enhancement versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38615> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com