diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2019-12-07 12:44:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-07 12:44:20 (GMT) |
commit | 930cef2770b641f49e69b67840daaa53b65cd0e0 (patch) | |
tree | f443516b2046f1653a95d7c28f8bc238c67ac0f4 /Misc | |
parent | ce0a2a86207dacc1945c6d756527226d8feed0e0 (diff) | |
download | cpython-930cef2770b641f49e69b67840daaa53b65cd0e0.zip cpython-930cef2770b641f49e69b67840daaa53b65cd0e0.tar.gz cpython-930cef2770b641f49e69b67840daaa53b65cd0e0.tar.bz2 |
[3.8] bpo-37404: Raising value error if an SSLSocket is passed to asyncio functions (GH-16457) (#17496)
https://bugs.python.org/issue37404
(cherry picked from commit 892f9e0777f262d366d4747a54c33a1c15a49da6)
Co-authored-by: idomic <michael.ido@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Build/2019-12-01-21-45-24.bpo-37404.cNsA7S.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2019-12-01-21-45-24.bpo-37404.cNsA7S.rst b/Misc/NEWS.d/next/Build/2019-12-01-21-45-24.bpo-37404.cNsA7S.rst new file mode 100644 index 0000000..067fc9d --- /dev/null +++ b/Misc/NEWS.d/next/Build/2019-12-01-21-45-24.bpo-37404.cNsA7S.rst @@ -0,0 +1,2 @@ +:mod:`asyncio` now raises :exc:`TyperError` when calling incompatible methods +with an :class:`ssl.SSLSocket` socket. Patch by Ido Michael. |