]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39259: poplib now rejects timeout = 0 (GH-17912)
authorDong-hee Na <donghee.na92@gmail.com>
Fri, 10 Jan 2020 14:34:05 +0000 (23:34 +0900)
committerVictor Stinner <vstinner@python.org>
Fri, 10 Jan 2020 14:34:05 +0000 (15:34 +0100)
commitc39b52f1527868c7ada9385669c38edf98858921
treedff7a3c55d0d8c5f01bcb20bc66fac69aa2cd6dd
parent4c53e63cc966f98e141a09bc435b9f9c713b152d
bpo-39259: poplib now rejects timeout = 0 (GH-17912)

poplib.POP3 and poplib.POP3_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/poplib.rst
Doc/whatsnew/3.9.rst
Lib/poplib.py
Lib/test/test_poplib.py
Misc/NEWS.d/next/Library/2020-01-09-10-58-58.bpo-39259.RmDgCC.rst [new file with mode: 0644]