summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2022-02-20 12:45:02 (GMT)
committerGitHub <noreply@github.com>2022-02-20 12:45:02 (GMT)
commitdde048819f3975bdf98b3e50ea9ef8ea25ecdb8e (patch)
tree1396741c3b970b9d9e7a6c475ec34619adb549a3 /Misc
parentea3e0421b04a6081d604786a40e7f27ff854b428 (diff)
downloadcpython-dde048819f3975bdf98b3e50ea9ef8ea25ecdb8e.zip
cpython-dde048819f3975bdf98b3e50ea9ef8ea25ecdb8e.tar.gz
cpython-dde048819f3975bdf98b3e50ea9ef8ea25ecdb8e.tar.bz2
[3.10] Raise TypeError if SSLSocket is passed to asyncio transport-based methods (GH-31442). (GH-31443)
(cherry picked from commit 1f9d4c93af380d00bf2e24bc5f5ce662d41504aa) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-02-20-12-59-46.bpo-46252.KG1SqA.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-02-20-12-59-46.bpo-46252.KG1SqA.rst b/Misc/NEWS.d/next/Library/2022-02-20-12-59-46.bpo-46252.KG1SqA.rst
new file mode 100644
index 0000000..a15e7aa
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-02-20-12-59-46.bpo-46252.KG1SqA.rst
@@ -0,0 +1,2 @@
+Raise :exc:`TypeError` if :class:`ssl.SSLSocket` is passed to
+transport-based APIs.