summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2020-01-07 17:28:10 (GMT)
committerVictor Stinner <vstinner@python.org>2020-01-07 17:28:10 (GMT)
commit13a7ee8d62dafe7d2291708312fa2a86e171c7fa (patch)
tree1e7faf47f7cb00a2a540553c8686941d1f4a0852 /Misc
parent950c6795aa0ffa85e103a13e7a04e08cb34c66ad (diff)
downloadcpython-13a7ee8d62dafe7d2291708312fa2a86e171c7fa.zip
cpython-13a7ee8d62dafe7d2291708312fa2a86e171c7fa.tar.gz
cpython-13a7ee8d62dafe7d2291708312fa2a86e171c7fa.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-11-17-17-32-35.bpo-38615.OVyaNX.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-11-17-17-32-35.bpo-38615.OVyaNX.rst b/Misc/NEWS.d/next/Library/2019-11-17-17-32-35.bpo-38615.OVyaNX.rst
new file mode 100644
index 0000000..04f51da
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-11-17-17-32-35.bpo-38615.OVyaNX.rst
@@ -0,0 +1,5 @@
+:class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an
+optional *timeout* parameter for their constructors.
+Also, the :meth:`~imaplib.IMAP4.open` method now has an optional *timeout* parameter
+with this change. The overridden methods of :class:`~imaplib.IMAP4_SSL` and
+:class:`~imaplib.IMAP4_stream` were applied to this change. Patch by Dong-hee Na.