summaryrefslogtreecommitdiffstats
path: root/Doc/library/shutil.rst
diff options
context:
space:
mode:
authorJakub KulĂ­k <Kulikjak@gmail.com>2024-09-19 14:47:05 (GMT)
committerGitHub <noreply@github.com>2024-09-19 14:47:05 (GMT)
commit8f82d9aa2191db7826bb7a453fe06ce65f966cf8 (patch)
tree22ac421d6a5fee93eead57f35195829d8981630e /Doc/library/shutil.rst
parent426569eb8ca1edaa68026aa2bab6b8d1c9105f93 (diff)
downloadcpython-8f82d9aa2191db7826bb7a453fe06ce65f966cf8.zip
cpython-8f82d9aa2191db7826bb7a453fe06ce65f966cf8.tar.gz
cpython-8f82d9aa2191db7826bb7a453fe06ce65f966cf8.tar.bz2
bpo-41843: Reenable use of sendfile in shutil module on Solaris (GH-23893)
Diffstat (limited to 'Doc/library/shutil.rst')
-rw-r--r--Doc/library/shutil.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst
index 220207e..e623c3d 100644
--- a/Doc/library/shutil.rst
+++ b/Doc/library/shutil.rst
@@ -517,7 +517,7 @@ the use of userspace buffers in Python as in "``outfd.write(infd.read())``".
On macOS `fcopyfile`_ is used to copy the file content (not metadata).
-On Linux :func:`os.sendfile` is used.
+On Linux and Solaris :func:`os.sendfile` is used.
On Windows :func:`shutil.copyfile` uses a bigger default buffer size (1 MiB
instead of 64 KiB) and a :func:`memoryview`-based variant of
@@ -529,6 +529,9 @@ file then shutil will silently fallback on using less efficient
.. versionchanged:: 3.8
+.. versionchanged:: 3.14
+ Solaris now uses :func:`os.sendfile`.
+
.. _shutil-copytree-example:
copytree example