summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-11-27 17:30:53 (GMT)
committerGitHub <noreply@github.com>2023-11-27 17:30:53 (GMT)
commit3ef75ee5844e11c7bc804499cfc09bfc78abd12b (patch)
tree44cc342d11cc08a23f2b386c0408c645a3eebeb0 /Misc
parenta2ed553b1a7d104a9fe7d8ddc70424fca4784dd5 (diff)
downloadcpython-3ef75ee5844e11c7bc804499cfc09bfc78abd12b.zip
cpython-3ef75ee5844e11c7bc804499cfc09bfc78abd12b.tar.gz
cpython-3ef75ee5844e11c7bc804499cfc09bfc78abd12b.tar.bz2
[3.12] gh-84443: SSLSocket.recv_into() now support buffer protocol with itemsize != 1 (GH-20310) (GH-112458)
It is also no longer use __len__(). (cherry picked from commit 812360fddda86d7aff5823f529ab720f57ddc411) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-05-21-23-32-46.bpo-40262.z4fQv1.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-05-21-23-32-46.bpo-40262.z4fQv1.rst b/Misc/NEWS.d/next/Library/2020-05-21-23-32-46.bpo-40262.z4fQv1.rst
new file mode 100644
index 0000000..c017a1c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-05-21-23-32-46.bpo-40262.z4fQv1.rst
@@ -0,0 +1,2 @@
+The :meth:`ssl.SSLSocket.recv_into` method no longer requires the *buffer*
+argument to implement ``__len__`` and supports buffers with arbitrary item size.