]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-81881: Raise `SpecialFileError` for sockets and devices in `shutil.copyfile` ...
authorSavannah Ostrowski <savannah@python.org>
Tue, 30 Jun 2026 19:50:41 +0000 (12:50 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Jun 2026 19:50:41 +0000 (19:50 +0000)
commit040002c13a35ba3c8d077d87c29002ad3f2edad5
treeb4f75e4996cdaffe1b0967fd2a081a299c184dfe
parent7bbea4f4868ef89b07b986d7a0d4b585e8271f27
GH-81881: Raise `SpecialFileError` for sockets and devices in `shutil.copyfile` (#142693)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Senthil Kumaran <senthil@python.org>
Doc/library/shutil.rst
Doc/whatsnew/3.15.rst
Lib/shutil.py
Lib/test/test_shutil.py
Misc/NEWS.d/next/Library/2025-12-14-06-44-34.gh-issue-81881.qancdQ.rst [new file with mode: 0644]