commit | 13a7ee8d62dafe7d2291708312fa2a86e171c7fa | [log] [tgz] |
---|---|---|
author | Dong-hee Na <donghee.na92@gmail.com> | Wed Jan 08 02:28:10 2020 +0900 |
committer | Victor Stinner <vstinner@python.org> | Tue Jan 07 18:28:10 2020 +0100 |
tree | 1e7faf47f7cb00a2a540553c8686941d1f4a0852 | |
parent | 950c6795aa0ffa85e103a13e7a04e08cb34c66ad [diff] |
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.