]> granicus.if.org Git - python/commit
bpo-29970: Make ssh_handshake_timeout None by default (#4939)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 20 Dec 2017 18:24:43 +0000 (20:24 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Dec 2017 18:24:43 +0000 (20:24 +0200)
commit51eb1c6b9c0b382dfd6e0428eacff0c7891a6fc3
treec9043b4a9f959fe562a695ec35cb0718101110e9
parenta7a751dd7b08a5bb6cb399c1b2a6ca7b24aba51d
bpo-29970: Make ssh_handshake_timeout None by default (#4939)

* Make ssh_handshake_timeout None by default.
* Raise ValueError if ssl_handshake_timeout is used without ssl.
* Raise ValueError if ssl_handshake_timeout is not positive.
Doc/library/asyncio-eventloop.rst
Lib/asyncio/base_events.py
Lib/asyncio/events.py
Lib/asyncio/proactor_events.py
Lib/asyncio/sslproto.py
Lib/asyncio/unix_events.py
Lib/test/test_asyncio/test_base_events.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_sslproto.py
Lib/test/test_asyncio/test_unix_events.py