[Python-checkins] gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ (#106901)

AlexWaygood webhook-mailer at python.org
Wed Jul 19 15:56:30 EDT 2023


https://github.com/python/cpython/commit/1e1f4e91a905bab3103250a3ceadac0693b926d9
commit: 1e1f4e91a905bab3103250a3ceadac0693b926d9
branch: main
author: Jack Nelson <jack at jacknelson.xyz>
committer: AlexWaygood <Alex.Waygood at Gmail.com>
date: 2023-07-19T20:56:26+01:00
summary:

gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ (#106901)

And later versions of 3.10, 3.9

files:
M Doc/library/asyncio-eventloop.rst

diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 38f2e2f510c17..1ef8a5ab832e4 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -1593,6 +1593,9 @@ Do not instantiate the :class:`Server` class directly.
    .. versionchanged:: 3.7
       Server object is an asynchronous context manager since Python 3.7.
 
+   .. versionchanged:: 3.11
+      This class was exposed publicly as ``asyncio.Server`` in Python 3.9.11, 3.10.3 and 3.11.
+
    .. method:: close()
 
       Stop serving: close listening sockets and set the :attr:`sockets`



More information about the Python-checkins mailing list