From 18fbc5699607449f323004e5a51993347135070e Mon Sep 17 00:00:00 2001 From: Carlo Suriano Date: Wed, 9 Nov 2022 09:09:12 +0100 Subject: [PATCH 1/5] Remove older version of `get_write_buffer_limits` --- Lib/asyncio/sslproto.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py index 5cb5cd35883f07..bbf9cad6bc7f86 100644 --- a/Lib/asyncio/sslproto.py +++ b/Lib/asyncio/sslproto.py @@ -199,12 +199,6 @@ def get_read_buffer_size(self): """Return the current size of the read buffer.""" return self._ssl_protocol._get_read_buffer_size() - def get_write_buffer_limits(self): - """Get the high and low watermarks for write flow control. - Return a tuple (low, high) where low and high are - positive number of bytes.""" - return self._ssl_protocol._transport.get_write_buffer_limits() - @property def _protocol_paused(self): # Required for sendfile fallback pause_writing/resume_writing logic From 5342ef78fdbec7688b7d0f445bbcfd01d9e0005c Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Wed, 9 Nov 2022 08:40:53 +0000 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst diff --git a/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst b/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst new file mode 100644 index 00000000000000..a812e0b8ba9b27 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst @@ -0,0 +1 @@ +Remove older version of `get_write_buffer_limits` in asyncio.sslproto From 51d89e67ab4bfcc6d580716734608c17d81b13c4 Mon Sep 17 00:00:00 2001 From: Carlo Suriano Date: Wed, 9 Nov 2022 09:43:30 +0100 Subject: [PATCH 3/5] Fix news backticks --- .../next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst b/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst index a812e0b8ba9b27..864169713b8c7f 100644 --- a/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst +++ b/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst @@ -1 +1 @@ -Remove older version of `get_write_buffer_limits` in asyncio.sslproto +Remove older version of ``get_write_buffer_limits`` in asyncio.sslproto From bacf3726f3c407267c0aaa307ae6cf60bce6564c Mon Sep 17 00:00:00 2001 From: Carlo <34414634+csuriano23@users.noreply.github.com> Date: Thu, 10 Nov 2022 11:32:11 +0100 Subject: [PATCH 4/5] Update Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> --- .../next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst b/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst index 864169713b8c7f..dcc64e1ad4d11b 100644 --- a/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst +++ b/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst @@ -1 +1 @@ -Remove older version of ``get_write_buffer_limits`` in asyncio.sslproto +Remove older version of ``_SSLProtocolTransport.get_write_buffer_limits`` in :mod:`!asyncio.sslproto`. From 12303834dc06d6e1340d31b0c8a1b389876053ad Mon Sep 17 00:00:00 2001 From: Carlo Suriano Date: Thu, 10 Nov 2022 11:38:27 +0100 Subject: [PATCH 5/5] Remove trailing whitespace in changelog --- .../next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst b/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst index dcc64e1ad4d11b..f0a5390b03a7d0 100644 --- a/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst +++ b/Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst @@ -1 +1 @@ -Remove older version of ``_SSLProtocolTransport.get_write_buffer_limits`` in :mod:`!asyncio.sslproto`. +Remove older version of ``_SSLProtocolTransport.get_write_buffer_limits`` in :mod:`!asyncio.sslproto`