COMMITS
/ Lib/shutil.py February 25, 2026
T
gh-85809: Ensure shutil.make_archive accepts path-like objects in all cases (GH-143668)
Tadej Magajna committed
July 23, 2025
May 6, 2025
E
gh-132983: Add the `compression.zstd` pacakge and tests (#133365)
Emma Smith committed
February 3, 2025
I
gh-81340: Use copy_file_range in shutil.copyfile copy functions (GH-93152)
Illia Volochii committed
November 22, 2024
S
gh-127001: Fix PATHEXT issues in shutil.which() on Windows (GH-127035)
Serhiy Storchaka committed
October 4, 2024
September 24, 2024
J
gh-86009: Fix solaris detection in `_USE_CP_SENDFILE` check (GH-124289)
Jakub Kulík committed
September 19, 2024
J
bpo-41843: Reenable use of sendfile in shutil module on Solaris (GH-23893)
Jakub Kulík committed
August 21, 2024
P
gh-123084: Turn `shutil.ExecError` into a deprecated alias of `RuntimeError` (#123125)
Peter Bierma committed
August 7, 2024
X
Fix typos in comments and docstring (#122720)
Xie Yanbo committed
June 18, 2024
B
GH-73991: Use same signature for `shutil._rmtree_[un]safe()`. (#120517)
Barney Gale committed
June 1, 2024
B
GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (#119808)
Barney Gale committed
May 29, 2024
B
GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (#119634)
Barney Gale committed
May 2, 2024
A
docs: typo: tiny grammar change: "pointed by" -> "pointed to by" (#118411)
Andrew Zipperer committed
April 22, 2024
March 13, 2024
S
gh-116401: Fix blocking os.fwalk() and shutil.rmtree() on opening a named pipe (GH-116421)
Serhiy Storchaka committed
March 11, 2024
M
gh-71052: Change Android's `sys.platform` from "linux" to "android"
Malcolm Smith committed
February 4, 2024
December 27, 2023
December 23, 2023
S
gh-113188: Fix shutil.copymode() on Windows (GH-113189)
Serhiy Storchaka committed
December 5, 2023
Z
bpo-35332: Handle os.close() errors in shutil.rmtree() (GH-23766)
Zackery Spytz committed
S
gh-94692: Only catch OSError in shutil.rmtree() (#112756)
Serhiy Storchaka committed
J
gh-81441: shutil.rmtree() FileNotFoundError race condition (GH-14064)
Jeffrey Kintscher committed
December 3, 2023
I
gh-112645: remove deprecation warning for use of onerror in shutil.rmtree (#112659)
Irit Katriel committed
October 4, 2023
A
gh-109653: Defer importing `warnings` in several modules (#110286)
Alex Waygood committed
October 2, 2023
C
gh-109590: Update shutil.which on Windows to prefer a PATHEXT extension on executable files (GH-109995)
Charles Machalow committed
September 30, 2023
V
gh-109748: Fix again venv test_zippath_from_non_installed_posix() (#110149)
Victor Stinner committed
August 16, 2023
May 30, 2023
S
gh-88745: Add _winapi.CopyFile2 and update shutil.copy2 to use it (GH-105055)
Steve Dower committed
April 25, 2023
A
gh-82814: fix shutil access error on WSL (#103790)
Allan Lago committed
April 24, 2023
P
gh-102950: Implement PEP 706 – Filter for tarfile.extractall (#102953)
Petr Viktorin committed
April 11, 2023
I
gh-102828: set stacklevel on deprecation warning (#103422)
Irit Katriel committed
April 4, 2023
C
GH-75586: Make shutil.which() on Windows more consistent with the OS (GH-103179)
Charles Machalow committed
March 21, 2023
I
gh-102828: emit deprecation warning for onerror arg to shutil.rmtree (#102850)
Irit Katriel committed
March 19, 2023
I
gh-102828: add onexc arg to shutil.rmtree. Deprecate onerror. (#102829)
Irit Katriel committed
November 26, 2022
N
bpo-45975: Simplify some while-loops with walrus operator (GH-29347)
Nick Drozd committed
November 22, 2022
C
gh-99547: Add isjunction methods for checking if a path is a junction (GH-99548)
Charles Machalow committed
November 7, 2022
Z
bpo-38523: ignore_dangling_symlinks does not apply recursively (GH-22937)
Zackery Spytz committed
October 5, 2022
S
gh-74696: Pass root_dir to custom archivers which support it (GH-94251)
Serhiy Storchaka committed
July 20, 2022
O
gh-94844: Add pathlib support to shutil archive management (GH-94846)
Oleg Iarygin committed
June 22, 2022
S
gh-74696: Do not change the current working directory in shutil.make_archive() if possible (GH-93160)
Serhiy Storchaka committed
May 20, 2022
L
shutil._copyfileobj_readinto: tiny speedup (#92377)
Lucinda May Phipps committed
April 12, 2022
J
gh-88513: clarify shutil.copytree's dirs_exist_ok arg (GH-91434)
Jack DeVries committed
March 9, 2022
S
bpo-46245: Add optional parameter dir_fd in shutil.rmtree() (GH-30365)
Serhiy Storchaka committed
February 20, 2022
L
bpo-39327: Close file descriptors as soon as possible in shutil.rmtree (GH-31384)
Lital Natan committed
October 19, 2021
F
September 21, 2021
A
July 31, 2021
A
bpo-33671 fix orphaned comment in shutil.copyfileobj (GH-27516)
Anthony Sottile committed
July 10, 2021
A
bpo-43219: shutil.copyfile, raise a less confusing exception instead of IsADirectoryError (GH-27049)
andrei kulakov committed
May 17, 2021
I
bpo-43650: Fix MemoryError on zip.read in shutil._unpack_zipfile for large files (GH-25058)
Igor Bolshakov committed