From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 15 Feb 2022 17:14:09 +0000 (-0800) Subject: bpo-46741: Update `asyncio.protocols.BufferedProtocol` docstring (GH-31327) (GH-31362) X-Git-Tag: v3.10.3~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72c46462aa9fd0a69317917ba127e62f94ce08d7;p=thirdparty%2FPython%2Fcpython.git 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 Co-authored-by: Alex Waygood --- diff --git a/Lib/asyncio/protocols.py b/Lib/asyncio/protocols.py index 69fa43e8b651..09987b164c66 100644 --- a/Lib/asyncio/protocols.py +++ b/Lib/asyncio/protocols.py @@ -109,10 +109,6 @@ class Protocol(BaseProtocol): 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.