summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo <34414634+csuriano23@users.noreply.github.com>2022-11-10 16:07:17 (GMT)
committerGitHub <noreply@github.com>2022-11-10 16:07:17 (GMT)
commitf1680c3fbf7d18a1b3a5b390c433298bb6b9fcac (patch)
treed99f3f2146622bd1ce933fae6472c89c2e233374
parent73679b13ca38a25da878d13b0674961b8ea53eb5 (diff)
downloadcpython-f1680c3fbf7d18a1b3a5b390c433298bb6b9fcac.zip
cpython-f1680c3fbf7d18a1b3a5b390c433298bb6b9fcac.tar.gz
cpython-f1680c3fbf7d18a1b3a5b390c433298bb6b9fcac.tar.bz2
gh-99277: remove older version of `get_write_buffer_limits` (#99280)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
-rw-r--r--Lib/asyncio/sslproto.py6
-rw-r--r--Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst1
2 files changed, 1 insertions, 6 deletions
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`