[Python-checkins] bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (GH-31327) (GH-31362)

asvetlov webhook-mailer at python.org
Tue Feb 15 12:14:18 EST 2022


https://github.com/python/cpython/commit/72c46462aa9fd0a69317917ba127e62f94ce08d7
commit: 72c46462aa9fd0a69317917ba127e62f94ce08d7
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2022-02-15T19:14:09+02:00
summary:

bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (GH-31327) (GH-31362)

The docstring for `BufferedProtocol` states that the class is still an "experimental API", but it has been considered stable since 3.8.
(cherry picked from commit 1d81fdc4c004511c25f74db0e04ddbbb8a04ce6d)

Co-authored-by: Alex Waygood <Alex.Waygood at Gmail.com>

Co-authored-by: Alex Waygood <Alex.Waygood at Gmail.com>

files:
M Lib/asyncio/protocols.py

diff --git a/Lib/asyncio/protocols.py b/Lib/asyncio/protocols.py
index 69fa43e8b6511..09987b164c66e 100644
--- a/Lib/asyncio/protocols.py
+++ b/Lib/asyncio/protocols.py
@@ -109,10 +109,6 @@ def eof_received(self):
 class BufferedProtocol(BaseProtocol):
     """Interface for stream protocol with manual buffer control.
 
-    Important: this has been added to asyncio in Python 3.7
-    *on a provisional basis*!  Consider it as an experimental API that
-    might be changed or removed in Python 3.8.
-
     Event methods, such as `create_server` and `create_connection`,
     accept factories that return protocols that implement this interface.
 



More information about the Python-checkins mailing list