From: Serhiy Storchaka Date: Fri, 8 Dec 2023 08:18:15 +0000 (+0200) Subject: Add a versionchanged directive for gh-94692 (GH-112846) X-Git-Tag: v3.13.0a3~475 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ac1e8fb25c5c0e1da61784281ab878db671761b;p=thirdparty%2FPython%2Fcpython.git Add a versionchanged directive for gh-94692 (GH-112846) Co-authored-by: Alex Waygood --- diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index d30d289710b1..f61ef8b0ecc7 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -346,6 +346,8 @@ Directory and files operations .. versionchanged:: 3.13 :func:`!rmtree` now ignores :exc:`FileNotFoundError` exceptions for all but the top-level path. + Exceptions other than :exc:`OSError` and subclasses of :exc:`!OSError` + are now always propagated to the caller. .. attribute:: rmtree.avoids_symlink_attacks