]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39259: nntplib.NNTP/NNTP_SSL now reject timeout = 0 (GH-17936)
authorDong-hee Na <donghee.na92@gmail.com>
Sat, 11 Jan 2020 17:39:15 +0000 (02:39 +0900)
committerVictor Stinner <vstinner@python.org>
Sat, 11 Jan 2020 17:39:15 +0000 (18:39 +0100)
commit1b335ae281631a12201fdec29b3c55d97166fc06
treee067d97221416877e47fad06e6a14cded864b468
parent136735c1a2efb320e4cbb64b40f1191228745b39
bpo-39259: nntplib.NNTP/NNTP_SSL now reject timeout = 0 (GH-17936)

nntplib.NNTP and nntplib.NNTP_SSL now raise a ValueError
if the given timeout for their constructor is zero to
prevent the creation of a non-blocking socket.
Doc/library/nntplib.rst
Doc/whatsnew/3.9.rst
Lib/nntplib.py
Lib/test/test_nntplib.py
Misc/NEWS.d/next/Library/2020-01-11-00-32-45.bpo-39259._S5VjC.rst [new file with mode: 0644]