From f1680c3fbf7d18a1b3a5b390c433298bb6b9fcac Mon Sep 17 00:00:00 2001 From: Carlo <34414634+csuriano23@users.noreply.github.com> Date: Thu, 10 Nov 2022 17:07:17 +0100 Subject: gh-99277: remove older version of `get_write_buffer_limits` (#99280) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> --- Lib/asyncio/sslproto.py | 6 ------ .../next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) create mode 100644 Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py index 5cb5cd3..bbf9cad 100644 --- a/Lib/asyncio/sslproto.py +++ b/Lib/asyncio/sslproto.py @@ -199,12 +199,6 @@ class _SSLProtocolTransport(transports._FlowControlMixin, """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 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 0000000..f0a5390 --- /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 ``_SSLProtocolTransport.get_write_buffer_limits`` in :mod:`!asyncio.sslproto` -- cgit v0.12