]> 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:20:27 +0000 (06:20 -0800)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2019 14:20:27 +0000 (06:20 -0800)
commita0078d9a3335a5e99afe97590fdcb8e2f526ed7b
tree21559bdd04ee0f436168fdc41a66fcacf6117815
parent21e11383cc59146184da0d69a3f19f004215f9a7
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]