[New-bugs-announce] [issue38615] imaplib has no timeout setting
Jairo Llopis
report at bugs.python.org
Mon Oct 28 09:58:01 EDT 2019
New submission from Jairo Llopis <yajo.sk8 at 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 <report at bugs.python.org>
<https://bugs.python.org/issue38615>
_______________________________________
More information about the New-bugs-announce
mailing list