Author vstinner
Recipients corona10, vstinner
Date 2020-01-09.09:18:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578561520.13.0.661584753408.issue39259@roundup.psfhosted.org>
In-reply-to
Content
ftplib: https://github.com/python/cpython/blob/efa3b51fd060352cc6220b27a1026e4d4d5401bd/Lib/ftplib.py#L155
nntplib: https://github.com/python/cpython/blob/2e6a8efa837410327b593dc83c57492253b1201e/Lib/nntplib.py#L1049
smtplib: https://github.com/python/cpython/blob/3faf826e5879536d2272f1a51c58965a16827f81/Lib/smtplib.py#L386

It seems like these 3 modules use makefile() and have a timeout parameter. If makefile() doesn't support non-blocking mode, sure, it's a good idea to also reject explicitly timeout=0 in these modules.
History
Date User Action Args
2020-01-09 09:18:40vstinnersetrecipients: + vstinner, corona10
2020-01-09 09:18:40vstinnersetmessageid: <1578561520.13.0.661584753408.issue39259@roundup.psfhosted.org>
2020-01-09 09:18:40vstinnerlinkissue39259 messages
2020-01-09 09:18:39vstinnercreate