]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39006: Fix asyncio when the ssl module is missing (GH-17524)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Dec 2019 14:19:48 +0000 (06:19 -0800)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2019 14:19:48 +0000 (06:19 -0800)
commitb22183f2738e0e6c23f8c5fb5b232768c184ec96
tree242c037e4d55c3051da1abd4852707e7d1fa282d
parent0381ea79ac2da03179c8512c581cac588b69cff9
bpo-39006: Fix asyncio when the ssl module is missing (GH-17524)

Fix asyncio when the ssl module is missing: only check for
ssl.SSLSocket instance if the ssl module is available.
(cherry picked from commit 82b4950b5e92bec343a436b3f9c116400b66e1b9)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/asyncio/selector_events.py
Misc/NEWS.d/next/Library/2019-12-09-14-40-09.bpo-39006.v4VsPg.rst [new file with mode: 0644]