[Python-checkins] [3.11] gh-99277: remove older version of `get_write_buffer_limits` (GH-99280) (#99338)
gvanrossum
webhook-mailer at python.org
Thu Nov 10 12:01:33 EST 2022
https://github.com/python/cpython/commit/0dfbb769df9e492a08b55ba59bf256b900b43296
commit: 0dfbb769df9e492a08b55ba59bf256b900b43296
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: gvanrossum <gvanrossum at gmail.com>
date: 2022-11-10T09:01:14-08:00
summary:
[3.11] gh-99277: remove older version of `get_write_buffer_limits` (GH-99280) (#99338)
(cherry picked from commit f1680c3fbf7d18a1b3a5b390c433298bb6b9fcac)
Co-authored-by: Carlo <34414634+csuriano23 at users.noreply.github.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303 at users.noreply.github.com>
files:
A Misc/NEWS.d/next/Library/2022-11-09-08-40-52.gh-issue-99277.J1P44O.rst
M Lib/asyncio/sslproto.py
diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
index 5cb5cd35883f..bbf9cad6bc7f 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
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 000000000000..f0a5390b03a7
--- /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`
More information about the Python-checkins
mailing list