Skip to content

Commit 1962669

Browse files
authored
Update Misc/NEWS.d/next/Security/2026-09-23-11-34-30.gh-issue-156793.zC_AjF.rst
1 parent d472f49 commit 1962669

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
:mod:`asyncio`: :meth:`loop.start_tls() <asyncio.loop.start_tls>` and
22
:meth:`loop.create_connection() <asyncio.loop.create_connection>` now
33
validate the *server_hostname* argument if an :class:`ssl.SSLContext` is
4-
passed with *check_hostname* set to ``True``.
4+
passed with *check_hostname* set to ``True``, emitting
5+
:exc:`DeprecationWarning` if *server_hostname* is missing. (This will raise
6+
:exc:`ValueError` in Python 3.13 and later.)

0 commit comments

Comments
 (0)