]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38615: Add timeout parameter for IMAP4 and IMAP4_SSL constructor (GH-17203)
authorDong-hee Na <donghee.na92@gmail.com>
Tue, 7 Jan 2020 17:28:10 +0000 (02:28 +0900)
committerVictor Stinner <vstinner@python.org>
Tue, 7 Jan 2020 17:28:10 +0000 (18:28 +0100)
commit13a7ee8d62dafe7d2291708312fa2a86e171c7fa
tree1e7faf47f7cb00a2a540553c8686941d1f4a0852
parent950c6795aa0ffa85e103a13e7a04e08cb34c66ad
bpo-38615: Add timeout parameter for IMAP4 and IMAP4_SSL constructor (GH-17203)

imaplib.IMAP4 and imaplib.IMAP4_SSL now have an
optional *timeout* parameter for their constructors.
Also, the imaplib.IMAP4.open() method now has an optional *timeout* parameter
with this change. The overridden methods of imaplib.IMAP4_SSL and
imaplib.IMAP4_stream were applied to this change.
Doc/library/imaplib.rst
Doc/whatsnew/3.9.rst
Lib/imaplib.py
Lib/test/test_imaplib.py
Misc/NEWS.d/next/Library/2019-11-17-17-32-35.bpo-38615.OVyaNX.rst [new file with mode: 0644]